Back to Webpack

webpack.config.js

examples/code-splitting-depend-on-advanced/template.md

5.106.2738 B
Original Source

This example shows how to use Code Splitting with entrypoint dependOn

webpack.config.js

javascript
_{{webpack.config.js}}_

app.js

javascript
_{{app.js}}_

page1.js

javascript
_{{page1.js}}_

lazy.js

javascript
_{{lazy.js}}_

other-vendors.js

javascript
_{{other-vendors.js}}_

dist/runtime.js

javascript
_{{dist/runtime.js}}_

dist/app.js

javascript
_{{dist/app.js}}_

dist/page1.js

javascript
_{{dist/page1.js}}_

dist/other-vendors.js

javascript
_{{dist/other-vendors.js}}_

dist/react-vendors.js

javascript
_{{dist/react-vendors.js}}_

Info

Unoptimized

_{{stdout}}_

Production mode

_{{production:stdout}}_