Releases: SassNinja/media-query-plugin
Releases · SassNinja/media-query-plugin
v1.5.0
This release adds support of webpack 5 while still supporting webpack 4 (which is now seen as deprecated and dropped with the next major version)
v1.4.0
This release adds support of the latest html-webpack-plugin version v4 🎉 (while still supporting v3) and upgrades all internal dependencies.
v1.3.2
This release fixes a bug in the groups option when using a regex that has no match.
Apart from that the query match is now more tolerant so it behaves as expected (read #46 for details)
v1.3.1
This release fixes a bug in the include
option that occured when it was a regex.
v1.3.0
This release add regex support to the groups
option. Besides support of the latest version of the style-loader has been added.
v1.2.0
This release fixes the style-loader support so that the extracted CSS gets injected at the right position in the JS. Apart from that the html-webpack-plugin support has been reworked to allow a more meaningful usage.
Migration Notes:
If you've used this plugin together with the html-webpack-plugin before you have to adjust your template(s). The extracted files are no longer included in htmlWebpackPlugin.files.css
but in the new object htmlWebpackPlugin.files.extracted.css
. The (extracted) object structure has changed from [file, file]
to [{file:file,query:query},{file:file,query:query}]
.
v1.1.0
This release fixes a major bug in the plugin that occurred when using the watch mode (see #2).
Apart from that the option groups
has been added (see #1).
v1.0.0
First production ready release!
The plugin has been tested with sourceMap, hash and in combination with other plugins (mini-css-extract-plugin & html-webpack-plugin).
v0.0.1
This pre-release can already be used for the extraction. But a proper sourceMap support pending.