Closed
Description
Does create-react-app support this?
https://webpack.js.org/guides/code-splitting-async/
is there any docs, explaining how to use it?
Does create-react-app support this?
https://webpack.js.org/guides/code-splitting-async/
is there any docs, explaining how to use it?
Activity
gaearon commentedon Apr 22, 2017
Yes. There are no docs yet because we'll switch approach in next version. Once we do, we'll document it.
For now, use
require.ensure()
: https://webpack.js.org/guides/code-splitting-async/#require-ensure-.In 0.10, we will support
import()
instead: https://webpack.js.org/guides/code-splitting-async/#dynamic-import-import-.