Skip to content

Commit 315bbac

Browse files
chore(release): 1.0.0
1 parent 2a3b4a8 commit 315bbac

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.0.0](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.12.0...v1.0.0) (2020-10-09)
6+
7+
### BREAKING CHANGE
8+
9+
* minimum supported `Node.js` version is `10.13.0`
10+
* the `esModule` option is `true` by default, you need to change `const locals = require('./styles.css')`/`require('./styles.css')` on `import locals from './styles.css'`/`import './styles.css''`
11+
* the `moduleFilename` option was removed in favor the `filename` option
12+
* the `hmr` option was removed, HMR will work automatically when `HotModuleReplacement` plugin used or `webpack-dev-server` with enabled the `hot` option
13+
* the `reloadAll` was removed
14+
15+
### Features
16+
17+
- the `chunkFilename` option can be a function for webpack@5
18+
19+
### ⚠ NOTICE
20+
21+
To avoid problems between `mini-css-extract-plugin` and `style-loader` because of changing the `esModule` option to `true` by default we strongly recommend upgrading `style-loader` to `2.0.0` version.
22+
523
### [0.12.0](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.11.3...v0.12.0) (2020-10-07)
624

725

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mini-css-extract-plugin",
3-
"version": "0.12.0",
3+
"version": "1.0.0",
44
"description": "extracts CSS into separate files",
55
"license": "MIT",
66
"repository": "webpack-contrib/mini-css-extract-plugin",

0 commit comments

Comments
 (0)