Skip to content

Commit 8ed5b16

Browse files
committed
update extract-text-webpack-plugin
1 parent 864d654 commit 8ed5b16

File tree

3 files changed

+1381
-1354
lines changed

3 files changed

+1381
-1354
lines changed

lib/loaders.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ exports.cssLoaders = function (options) {
2121
// (which is the case during production build)
2222
if (options.extract) {
2323
return ExtractTextPlugin.extract({
24-
loader: sourceLoader,
25-
fallbackLoader: 'vue-style-loader'
24+
use: sourceLoader,
25+
fallback: 'vue-style-loader'
2626
})
2727
} else {
2828
return ['vue-style-loader', sourceLoader].join('!')

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"css-loader": "^0.26.1",
4646
"download-git-repo": "^0.2.1",
4747
"express": "^4.14.0",
48-
"extract-text-webpack-plugin": "2.0.0-beta.5",
48+
"extract-text-webpack-plugin": "^2.0.0-rc.3",
4949
"file-loader": "^0.9.0",
5050
"friendly-errors-webpack-plugin": "^1.1.2",
5151
"handlebars": "^4.0.5",

0 commit comments

Comments
 (0)