npm i && npm run build && npm run serve
The page should contains 🆗 not 🆖, because src/style2.css
is imported after src/style1.css
.
To use mini-css-extract-plugin
, in src/webpack.config.js
, set EXTRACT
to true
. Or native CSS support (experimental) will be used.
To enable split chunks, in src/webpack.config.js
, set SPLIT_CHUNKS
to true
.
To set chunk split priority to enforce chunk order, in src/webpack.config.js
, set PRIORITY
to true
.