/webpack-build-speed-testing

Code to test webpack's build time.

Primary LanguageJavaScriptMIT LicenseMIT

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.