Skip to content
πŸŒ°πŸ”¨πŸ”¨πŸ”¨πŸ”¨
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_scripts
examples
modules
.gitignore
README.md
package.json
yarn.lock

README.md

Compare Webpack Bundles

Generate webpack bundles in different scenarios.

This project collects bundles that are generated by different source files using CommonJS or ES2015 modules. It is aimed to understand requiring machanism of webpack in browser.

build

install dependencies:

yarn install

rebuild each webpack configs under /examples :

yarn build

build a single config:

yarn run webpack -- --config examples/[example-folder]/webpack.config.js

test

To ensure bundles can be excuted correctly in browser.

note: not include HMR and dynamic import

yarn test
You can’t perform that action at this time.