Skip to content

Commit

Permalink
update extract-text-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Feb 7, 2017
1 parent 864d654 commit 8ed5b16
Show file tree
Hide file tree
Showing 3 changed files with 1,381 additions and 1,354 deletions.
4 changes: 2 additions & 2 deletions lib/loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ exports.cssLoaders = function (options) {
// (which is the case during production build)
if (options.extract) {
return ExtractTextPlugin.extract({
loader: sourceLoader,
fallbackLoader: 'vue-style-loader'
use: sourceLoader,
fallback: 'vue-style-loader'
})
} else {
return ['vue-style-loader', sourceLoader].join('!')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"css-loader": "^0.26.1",
"download-git-repo": "^0.2.1",
"express": "^4.14.0",
"extract-text-webpack-plugin": "2.0.0-beta.5",
"extract-text-webpack-plugin": "^2.0.0-rc.3",
"file-loader": "^0.9.0",
"friendly-errors-webpack-plugin": "^1.1.2",
"handlebars": "^4.0.5",
Expand Down
Loading

0 comments on commit 8ed5b16

Please sign in to comment.