Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #760 from alepop/752-add-css-hot-reload
Browse files Browse the repository at this point in the history
Setup css-hot-reload - Closes #752
  • Loading branch information
slaweet authored Sep 20, 2017
2 parents 0c46c32 + 1a7e71b commit 078ea8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"chai": "=3.5.0",
"chai-as-promised": "=6.0.0",
"chai-enzyme": "=0.6.1",
"css-hot-loader": "=1.3.1",
"css-loader": "=0.28.0",
"cucumber": "=2.2.0",
"del-cli": "=0.2.1",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = (env) => {
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
use: ['css-hot-loader'].concat(ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
{
Expand Down Expand Up @@ -147,7 +147,7 @@ module.exports = (env) => {
},
},
],
}),
})),
},
{
test: /\.json$/,
Expand Down

0 comments on commit 078ea8a

Please sign in to comment.