Update webpack config

This commit is contained in:
Pig Fang 2018-07-30 09:45:37 +08:00
parent 7072481f90
commit 1a475b5bc8

View File

@ -41,12 +41,10 @@ module.exports = [{
loader: 'vue-loader'
},
{
test: /\.(css|styl)$/,
test: /\.(css|styl(us)?)$/,
exclude: /node_modules/,
use: [
devMode
? 'vue-style-loader'
: MiniCssExtractPlugin.loader,
'vue-style-loader',
{ loader: 'css-loader', options: { importLoaders: 2 } },
'postcss-loader',
'stylus-loader'