| 1 | [build] |
| 2 | publish = "docs/.vitepress/dist" |
| 3 | command = "pnpm run build && pnpm run docs:build" |
| 4 | |
| 5 | [build.environment] |
| 6 | NODE_VERSION = "24" |
| 7 | NODE_OPTIONS = "--max-old-space-size=8192" |
| 8 | PLAYWRIGHT_BROWSERS_PATH = "0" |
| 9 | |
| 10 | [[redirects]] |
| 11 | from = "/new" |
| 12 | to = "https://stackblitz.com/github/slidevjs/new?file=slides.md" |
| 13 | status = 302 |
| 14 | force = true |
| 15 | |
| 16 | [[redirects]] |
| 17 | from = "/demo/composable-vue/*" |
| 18 | to = "/demo/composable-vue/index.html" |
| 19 | status = 200 |
| 20 | |
| 21 | [[redirects]] |
| 22 | from = "/demo/starter/*" |
| 23 | to = "/demo/starter/index.html" |
| 24 | status = 200 |
| 25 | |
| 26 | [[redirects]] |
| 27 | from = "/demo/vue-runner/*" |
| 28 | to = "/demo/vue-runner/index.html" |
| 29 | status = 200 |
| 30 | |
| 31 | [[redirects]] |
| 32 | from = "https://slidev.antfu.me/*" |
| 33 | to = "https://sli.dev/:splat" |
| 34 | status = 301 |
| 35 | force = true |
| 36 | |
| 37 | [[redirects]] |
| 38 | from = "/*" |
| 39 | to = "/index.html" |
| 40 | status = 200 |
| 41 |