Skip to content
Code to test webpack's build time.
JavaScript Shell CSS
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
src
.babelrc
.git-msg-template
.gitignore
LICENSE
README.md
package.json
postcss.config.js
webpack.config.js
webpack.dll.app.js
webpack.dll.vendor.js
yarn.lock

README.md

webpack-build-speed-testing

Code to test webpack's build time.

Development

To add devDependencies, use yarn install (Recommended) or npm install.

Plugins

Webpack's document says we can speed up our building process with DllPlugin, which can be found here: DllPlugin.

Besides, HappyPack is a great tool to speed up our building process. You can find it here: HappyPack.

Build

By default, npm run build will build without plugins.

If you want to build with Happypack and DllPlugin, just pass a dll param:

npm run build dll

If you are told you haven't permissions to execute the script, run the code below:

$ chmod +x ./script/build.sh

License

Released under the MIT license.

You can’t perform that action at this time.