- update readme and html bundle test cases
Various simple test configs for using webpack build set ups with various plugins.
Each sub-folder should be a standalone test case. Serve is run from the root, however.
- Check out repo
- from a terminal, run:
$ npm install
- run the desired builds from
package.json
- inspect the folder ouput in
dist
for each sub-folder - to browse sample html files as appropriate, execute:
$ npm run server
- Open web browser and browse desired
dist
folder
These test cases largely demo the ability to lazy import css via JS. This is not necessarily CSS Modules, but using various solutions.
CSS largely should be imported via a <link />
tag, but for various "routes" on a SPA application it is not unusual to
load a JS file + its css support simultaneously after the page loads.