Skip to content

Commit

Permalink
Adding extract text plugin as a peer dependency (#109)
Browse files Browse the repository at this point in the history
- Added supported versions of ExtractText plugin as a peerDependency
- update the main documentation (./README.md)
- update the basic example to use the latest supported version
- extract-text-webpack-plugin to <2.0.0 as a peer dependency
- updating documentation
- updated font awesome loader
  • Loading branch information
Vahid Panjganj authored and justin808 committed Jul 27, 2016
1 parent eb3de47 commit 5c51234
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ lib/
node_modules/
*.log
.DS_Store

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ styleLoaders:

Default: `false`

Extract styles to stand-alone css file using `extract-text-webpack-plugin`. See [extract-text-plugin](https://github.com/webpack/extract-text-webpack-plugin) for more details.
Extract styles to stand-alone css file using `extract-text-webpack-plugin` lower than 2.0.0. See [extract-text-plugin](https://github.com/webpack/extract-text-webpack-plugin) for more details.

```yaml
extractStyles: false
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
"css-loader": "^0.22.0",
"eslint": "^1.9.0",
"eslint-config-airbnb": "^1.0.0",
"extract-text-webpack-plugin": "^0.9.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.4",
"font-awesome-loader": "^1.0.0",
"imports-loader": "^0.6.5",
"node-sass": "^3.4.2",
"nodemon": "^1.8.1",
Expand All @@ -60,7 +61,6 @@
"sass-loader": "^3.1.1",
"style-loader": "^0.13.0",
"url-loader": "^0.5.6",
"font-awesome-loader": "^0.0.1",
"webpack": "^1.12.4",
"webpack-dev-middleware": "^1.2.0",
"webpack-hot-middleware": "^2.5.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"express": "^4.13.3",
"extract-text-webpack-plugin": "^0.9.1",
"file-loader": "^0.8.4",
"font-awesome-loader": "^1.0.0",
"node-sass": "^3.4.2",
"nodemon": "^1.9.1",
"postcss-loader": "^0.8.1",
Expand All @@ -72,7 +73,6 @@
"sass-loader": "^3.1.1",
"style-loader": "^0.13.0",
"url-loader": "^0.5.6",
"font-awesome-loader": "^0.0.1",
"webpack": "^1.12.6",
"webpack-dev-middleware": "^1.2.0",
"webpack-hot-middleware": "^2.5.0"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
],
"peerDependencies": {
"css-loader": "*",
"extract-text-webpack-plugin": "<2.0.0",
"node-sass": "*",
"resolve-url-loader": "*",
"sass-loader": "*",
Expand Down

0 comments on commit 5c51234

Please sign in to comment.