Skip to content

Commit e62a839

Browse files
sapeginandywer
authored andcommitted
Update extract-text-webpack-plugin to v3, drop webpack 2 support (#225)
1 parent afcfd5c commit e62a839

File tree

4 files changed

+215
-253
lines changed

4 files changed

+215
-253
lines changed

packages/extract-text/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @webpack-blocks/extract-text - Changelog
22

3+
## Next release
4+
5+
- Breaking change: drop webpack 2 support, update extract-text-webpack-plugin to v3
6+
37
## 1.0.0-beta.2
48

59
- Update dependency version

packages/extract-text/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66

77
Use this block to extract text (for example CSS) from the bundle into a separate file. Uses [Extract Text Plugin](https://github.com/webpack/extract-text-webpack-plugin).
88

9+
10+
## Installation
11+
12+
```sh
13+
# for webpack v3
14+
npm install --save-dev @webpack-blocks/extract-text
15+
# for webpack v2 install the last v1.0 beta version
16+
npm install --save-dev @webpack-blocks/extract-text@^1.0.0-beta.2
17+
```
18+
19+
920
## Usage
1021

1122
```js

0 commit comments

Comments
 (0)