rsnext/packages/next-server/lib
JJ Kasper 59b328b5c3 Remove client bundles for AMP only pages (#7034)
* Remove client bundles for AMP pages
after build since they are not used

* Remove trailing white space

* Use async-sema to limit removing AMP client bundles

* Bring AMP client bundle removing
semaphore concurrency down to 20

* Don't check blocked pages when
deleting AMP client bundles

* Update client bundle removing for AMP pages

* Add error handling for removing client AMP pages

* rethrow error unless ENOENT during
deleting AMP client pages

* Handle error during removing AMP client
pages the same during dev

* Fix throwing instead of rejecting

* Make sure next/config is set before requiring page

* Update error check

* return on reject

* Fix next/config
2019-04-16 22:56:34 +09:00
..
router Fix re-rendering on client after navigating back from external (#6652) 2019-04-09 16:58:44 -05:00
amp.ts Remove client bundles for AMP only pages (#7034) 2019-04-16 22:56:34 +09:00
amphtml-context.ts Replace .amp.js with withAmp(Comp) (#7009) 2019-04-11 13:59:26 -05:00
constants.js Make Client request BUILD_ID from the Server (#6891) 2019-04-04 17:54:01 -04:00
data-manager-context.ts amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
data-manager.ts amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
dynamic.js Fix loading showing before pastDelay (#6628) 2019-03-12 14:12:49 -05:00
head-manager-context.ts Make side-effect.js smaller (#6118) 2019-01-25 01:39:15 +01:00
head.tsx Replace .amp.js with withAmp(Comp) (#7009) 2019-04-11 13:59:26 -05:00
loadable-context.ts Remove PropTypes from _error and next/dynamic (#6763) 2019-03-23 21:00:31 +01:00
loadable.js Remove PropTypes from _error and next/dynamic (#6763) 2019-03-23 21:00:31 +01:00
mitt.ts Convert router/router.js to typescript (#6644) 2019-03-13 15:56:20 +01:00
request-context.ts Add useRequest hook and RequestContext (#6910) 2019-04-05 14:43:40 -05:00
router-context.ts amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
runtime-config.js next-server (#5357) 2018-10-02 00:55:31 +02:00
side-effect.tsx Add a viewport meta tag by default (#6754) 2019-03-27 11:46:44 -05:00
utils.js Don't use array for main chunk (#6767) 2019-03-24 14:33:10 +01:00