Releases: nystudio107/annotated-webpack-config
Releases · nystudio107/annotated-webpack-config
Version 1.1.7
Fixed
- Modern config only for local dev, fixing multi-compiler issues with HRM
Version 1.1.6
Changed
- Remove
[hash]
from dev config to eliminate potential memory errors - Use
[contenthash]
in production instead of hash or chunkhash - Replaced moment.js with vanilla JavaScript
Version 1.1.5
Changed
- Removed entirely the concept of a "modern" and "legacy" build from the
webpack.dev.js
; we don't need legacy builds withwebpack-dev-server
Fixed
- Changed deprecated use of
cacheFirst
toCacheFirst
in the Workbox config
Version 1.1.3
Changed
- Updated to use
core-js
version^3.0.0
- Removed explicit
new webpack.optimize.ModuleConcatenationPlugin()
- Moved the
CleanWebpackPlugin
to the modern build, which fixes it wiping out the modern build
Version 1.1.2
Changed
- Updated to use the latest
clean-webpack-plugin
Version 1.1.1
Changed
- Use destructuring for ESM module imports
- Added
module.hot.accept()
to the example entry pointapp.js
Version 1.1.0
Changed
- Switched over to using
webpack-dashboard
^3.0.0
- Added
debug
toscripts
to bypasswebpack-dashboard
as needed - Removed
sane
sincewebpack-dev-server ^3.3.0
fixes the sub-directory watchContentBase issue - Update to TailWind CSS
^1.0.0
Version 1.0.5
Changed
- Use
@babel/preset-env
withusage
polyfills as per the article Working with Babel 7 and Webpack - By default, exclude
/(node_modules|bower_components)/
inwebpack.settings.js
- Added
core-js@2
andregenerator-runtime
to thepackage.json
dependencies
Version 1.0.4
Changed
- Fixed an issue where the
cacheDirectory
was specified in the wrong place, resulting in obscure build errors - Removed
pcss
from the whitelist config, because it can't handle PostCSS
Version 1.0.3
Changed
- Fixed an error where the default
excludes
should be an empty array[]
instead of an empty string - Added
corejs
specification in thebabel-loader
options