Bug Report or Feature Request (mark with an x)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request
Area
- [ x ] devkit
- [ ] schematics
Versions
Node: v8.11.3
npm: 5.8.0
Repro steps
Once you define externals in an webpack config, ngtools/webpack does not split off lazy modules anymore.
- Clone https://github.com/manfredsteyer/simple-webpack-config
- npm i
- npm run build
- We get two bundles; a main bundle and a lazy chunk
- Open webpack.config and remove comments around externals block
- npm run build
- Now, we get only one bundle
Desired functionality
We should also get two bundles in step 8.
Bug Report or Feature Request (mark with an
x)Area
Versions
Node: v8.11.3
npm: 5.8.0
Repro steps
Once you define externals in an webpack config, ngtools/webpack does not split off lazy modules anymore.
Desired functionality
We should also get two bundles in step 8.