1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/lib
Tim Neutkens 42736c061a
Introduce dynamic(() => import()) (#5249)
* Add failing tests

* Upgrade wd module

* Pass dynamic import webpack ids to the client side

* Pass through webpack ids to initalializer and only use those

* Compile dynamic(import()) to dynamic(() => import())

* Default dynamicIds

* Use forked hard-source-plugin

* Possibly fix test

* Make tests fail less intermittently

* Temporarily disable hard-source in production

* Make sure dynamic import chunks are unique

* Disable hard-source

* Log html if error is thrown

* Fix test
2018-09-25 15:27:09 +02:00
..
router Keep warnings when process.env.NODE_ENV is not production (#5196) 2018-09-18 20:17:35 +02:00
app.js Add warning for broken popstate (#5000) 2018-08-24 12:30:27 +02:00
asset.js Handle empty assetPrefix scenario properly. (#3667) 2018-02-03 17:12:01 +01:00
constants.js Rename commons directory to runtime (#4853) 2018-07-27 19:29:25 +02:00
dynamic.js Introduce dynamic(() => import()) (#5249) 2018-09-25 15:27:09 +02:00
error-debug.js Change server error overlay to white to be consistent with react-error-overlay (#5104) 2018-09-05 17:13:44 +02:00
error.js Keep warnings when process.env.NODE_ENV is not production (#5196) 2018-09-18 20:17:35 +02:00
EventEmitter.js Make EventEmitter more Node-like (#4865) 2018-08-01 14:43:25 +02:00
head.js Remove dublicate className from head (followup) (#5027) 2018-08-25 10:00:57 +02:00
link.js Compile away next/link proptypes in production (#5155) 2018-09-14 11:34:08 +02:00
loadable-capture.js Split out Loadable.Capture and make NoSSR smaller (#5060) 2018-08-30 15:09:53 +02:00
loadable.js Introduce dynamic(() => import()) (#5249) 2018-09-25 15:27:09 +02:00
p-queue.js improve prefetch (#1161) 2017-02-16 00:59:42 +05:30
page-loader.js Compile pages to .next/static directory (#4828) 2018-07-25 13:45:42 +02:00
prefetch.js fix prefetch url (#1154) 2017-02-15 15:01:03 +01:00
promisify.js Move build directory outside of server folder (#4565) 2018-06-14 19:30:14 +02:00
runtime-config.js Exposing configuration to the server / client side (minor) (#3882) 2018-02-26 12:03:27 +01:00
shallow-equals.js Added linting using standard (#27) 2016-10-16 17:00:17 -07:00
side-effect.js Apply sideEffect at DidMount on the client side (#5068) 2018-09-02 19:18:20 +02:00
utils.js Add warning for broken popstate (#5000) 2018-08-24 12:30:27 +02:00