rsnext/packages/next/build
Jan Potoms 8bac412845
make getStaticPaths work with optional catch-all routes (#13559)
Fixes https://github.com/vercel/next.js/issues/13524

To do:
- [x] fix dev mode
- [x] there's a ~route ordering or~ trailing slash issue with top level catch-all (current tests reflect that)
- [x] in this test `/get-static-paths/whatever` should fall back to `/[[...optionalName]].js` since `fallback` is `false` in its `getStaticPaths` method. ~Currently seems to 500~ must have been a glitch
- [x] add tests for `null`, `undefined` ~and `false`~ behavior as well (if decided these are valid)
- [x] ~add tests for string params as well~ this is not allowed for catch-all routes
- [x] test behavior when fallback is enabled and a top level catch-all exists
2020-06-01 17:08:34 +00:00
..
babel Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
bundles Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00:00
output Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
plugins [Experimental] Only consider files within plugins (#12943) 2020-05-20 04:05:29 +00:00
polyfills Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
profiler Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00:00
webpack Update babel config found log to new logging output (#13550) 2020-05-29 15:08:28 +00:00
compiler.ts Fail production build quickly (#13496) 2020-05-28 22:51:30 +00:00
entries.ts Bundle env configs in serverless mode (#13406) 2020-05-26 19:01:57 +00:00
generate-build-id.ts Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
index.ts Replace fork-ts-checker-webpack-plugin with faster alternative (#13529) 2020-05-29 08:16:22 +00:00
is-writeable.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
spinner.ts node-fetch, ora 2020-03-30 16:26:25 -04:00
utils.ts make getStaticPaths work with optional catch-all routes (#13559) 2020-06-01 17:08:34 +00:00
webpack-config.ts Replace fork-ts-checker-webpack-plugin with faster alternative (#13529) 2020-05-29 08:16:22 +00:00
write-build-id.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00