Releases: GoogleChromeLabs/preload-webpack-plugin
3.0.0 beta 1
What's new?
The first beta release of v3.0.0 includes the following changes from v3.0.0-alpha.3:
- The plugin now requires node v6 or higher. (node v4 has reached its end-of-life.)
- Switched from using node's built-in
URL
module tourl-parse
, for node v6 compatibility. - When run under webpack v4, a new runtime check will raise a meaningful compilation error when this plugin is not used after
HtmlWebpackPlugin
in theplugins
array. - Miscellaneous updates to
README.md
andpackage.json
.
Installation
You can install the latest prerelease version of this plugin via
$ npm install --save-dev preload-webpack-plugin@next
3.0.0 alpha 3
What's new?
The next alpha release of v3.0.0 includes the re-addition of the fileWhitelist
configuration option, and an update to package.json
dependencies.
Installation
You can install the latest prerelease version of this plugin via
$ npm install --save-dev preload-webpack-plugin@next
3.0.0 alpha 1
What's new?
The first alpha release of v3.0.0 includes support for webpack 4, while maintaining support for webpack 3. Many thanks to @toxic-johann for their contributions to make that a reality.
The published package on npm
is now transpiled via @babel/preset-env
, currently targeting node 4.0.0
.
While not user-visible, the codebase has been refactored, with a focus on modularization and increased test coverage.
What's changed?
include: 'all'
has been removed, in favor of the equivalent option include: 'allChunks'
. This was done to reduce confusion with a new option, include: 'allAssets'
.
Installation
You can install the latest prerelease version of this plugin via
$ npm install --save-dev preload-webpack-plugin@next
3.0.0 beta 2
What's new?
The second beta release of v3.0.0 includes the following changes from v3.0.0-beta.1:
- Updated dependencies.
- Removed the dependency on the Babel runtime library.
Installation
You can install the latest prerelease version of this plugin via
$ npm install --save-dev preload-webpack-plugin@next
v2.3.0
2.3.0
2.2.0
What's new?
The 2.2.0 release includes adds support for include: 'initial'
. Thanks to @yyx990803 for the contribution!
Notable PRs
2.1.2
What's new?
The 2.1.2 release includes a fix for a circular recursion bug that could affect some webpack setups.
Thanks to @creage for reporting the issue!
Notable PRs
2.1.1
What's new?
The 2.1.1 release includes a polyfill for Object.values()
to accommodate versions of node prior to 7.x.
Thanks to @jkomusin for reporting the issue!
Notable PRs
2.1.0
What's new?
The 2.1.0 release contains a bug fix that ensures proper functionality when there are multiple HtmlWebpackPlugin
modules in your webpack build process.
Thanks to @toxic-johann for the contribution!
Notable PRs
v2.0.0
Release notes coming soon. Major changes include new support to preload or prefetch additional types.
Community mentions of preload-webpack-plugin
Articles
Apps
- Used in the React-based RocketChat PWA
- Used in Angular 4.x Hacker News PWA