8000 update extract-text-webpack-plugin · sillydeveloper/vue-cli@8ed5b16 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)
0