fix broken extractCSS

This commit is contained in:
Pooya Parsa 2017-08-18 21:12:11 +04:30
parent 81fcc70eca
commit 6fddf61ef7

View File

@ -57,7 +57,7 @@ export default function styleLoader (ext, loaders = [], isVueLoader = false) {
loader: 'resolve-url-loader' loader: 'resolve-url-loader'
} }
if (this.options.build.extractCSS && !isVueLoader && !this.options.dev) { if (this.options.build.extractCSS && !this.options.dev) {
return ExtractTextPlugin.extract({ return ExtractTextPlugin.extract({
fallback: vueStyleLoader, fallback: vueStyleLoader,
use: [ use: [