rsnext/packages/next/server
JJ Kasper d19e825daa Implement custom routes RFC (#9157)
* add initial custom-routes handling

* Add tests for custom-routes

* Handle chained redirects, separate dev custom
routes reading, and add version to routes manifest

* Handle no routes manifest

* Swap build custom routes calling

* Add flatten-routes

* Add flattening of custom routes

* Re-work implementation to follow routes top-down

* Add regex field to routes-manifest

* Fix path-to-regexp match breaking after upgrade

* Fix duplicate const from merge

* Add some changes from review

* Don't make path-match strict

* add default custom route values

* Update routes-manifest

* Update options for path-match

* Remove todo

* Add test for rewrite with params

* Only use strict mode for custom routes

* Update dynamic-routing test

* Move getCustomRoutes to prepare

* Remove extra change

* Update handling for error-in-error test

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>

* Apply suggestions from review

* Update slice change

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>

* Apply suggestions from review

* Fix TypeScript error

* Fix getCustomRoutes in dev mode

* Apply suggestions from code review

* Update slice

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>

* Delete un-used test page

* Add test for param overwriting

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>

* Add extra check to param test
2019-11-09 14:34:52 -08:00
..
lib Convert Dev Server to TypeScript (#8966) 2019-10-04 12:11:39 -04:00
error-debug.tsx Convert Dev Server to TypeScript (#8966) 2019-10-04 12:11:39 -04:00
hot-reloader.ts Implement custom routes RFC (#9157) 2019-11-09 14:34:52 -08:00
htmlescape.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
next-dev-server.ts Implement custom routes RFC (#9157) 2019-11-09 14:34:52 -08:00
next.ts Fix import next from "next" (#9216) 2019-10-31 13:20:05 +01:00
on-demand-entry-handler.ts Fix global Bluebird causing HMR connection to fail (#9009) 2019-10-09 10:50:32 -05:00