rsnext/packages/next/server
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
..
lib Replace .amp.js with withAmp(Comp) (#7009) 2019-04-11 13:59:26 -05:00
error-debug.js Remove ansi-html dep (#6394) 2019-02-22 00:12:47 +01:00
hot-reloader.js Remove client bundles for AMP only pages (#7034) 2019-04-16 22:56:34 +09:00
htmlescape.ts Implement circular JSON err.sh link (#6149) 2019-01-27 16:12:17 +01:00
next-dev-server.js Replace .amp.js with withAmp(Comp) (#7009) 2019-04-11 13:59:26 -05:00
next.js Use correct server path since main was changed 2018-10-02 23:11:01 +02:00
on-demand-entry-handler.js Remove client bundles for AMP only pages (#7034) 2019-04-16 22:56:34 +09:00