Webpack Boilerplate Versions Save

📦 ‎ A sensible webpack 5 boilerplate.

v3.0.2

1 year ago

Bring all packages up to date.

v3.0.0

2 years ago
  • Updated all dependencies to latest
  • Removed prettier and eslint webpack plugins
  • Removed ESLint rules for formatting prettier
  • Ensured public folder assets work in CSS background images and production build
  • Added prettify script

v2.0.1

3 years ago

Updated and patched all packages April 1, 2021. Removed errors from ESLint, preferring warnings so users can make their own choices and it does not block the build.

v2.0.0

3 years ago

webpack 5 compatibility upgrade.

Changed

  • Updated webpack to version 5
  • Removed cssnano, url-loader, file-loader, updated several other dependencies
  • Update webpack-dev-server to webpack serve
  • Update inline assets and resources to webpack 5 defaults

Note

You will see this error when building:

[email protected] build /Users/taniarascia/dev/sandbox/webpack-boilerplate
> cross-env NODE_ENV=production webpack --config config/webpack.prod.js

(node:34280) [DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS] DeprecationWarning: optimizeChunkAssets is deprecated (use Compilation.hook.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:34280) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
	Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
	Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.

This is from the HTML webpack plugin. See issue here: https://github.com/jantimon/html-webpack-plugin/issues/1501