diff options
| author | Shinigami <[email protected]> | 2022-02-03 20:40:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-03 20:40:09 +0100 |
| commit | 464cb9d721f12bf4a34c39bbc5a0384896643952 (patch) | |
| tree | 921d94b8c0240c314ed23045df5428b685566105 /netlify.toml | |
| parent | 22a8cbc7416f4f592871abcb689a71e045c27ccd (diff) | |
| download | faker-464cb9d721f12bf4a34c39bbc5a0384896643952.tar.xz faker-464cb9d721f12bf4a34c39bbc5a0384896643952.zip | |
chore: StackBlitz playground (#413)
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml index 2fa70518..e876aa72 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,11 +1,22 @@ [build.environment] NODE_VERSION = "16" NPM_FLAGS = "--version" # prevent Netlify npm install + +# Documentation [build] publish = "docs/.vitepress/dist" command = "npx pnpm i --store=node_modules/.pnpm-store && npm run docs:build:ci" + +# Redirect to Discord server [[redirects]] from = "https://chat.fakerjs.dev" to = "https://discord.com/invite/4qDjAmDj4P" status = 301 force = true + +# Redirect to StackBlitz playground +[[redirects]] + from = "/new" + to = "https://stackblitz.com/edit/faker-js-demo?file=index.ts" + status = 301 + force = true |
