reactivated css extract plugin for dev webpack as we want styles available event without js enabled
This commit is contained in:
parent
c0d1055b3b
commit
8a82e447b9
|
@ -13,18 +13,20 @@ module.exports = merge(baseConfig, {
|
|||
{
|
||||
test: /\.css$/,
|
||||
use: [
|
||||
process.env.NODE_ENV !== 'production'
|
||||
? 'vue-style-loader'
|
||||
: MiniCssExtractPlugin.loader,
|
||||
// process.env.NODE_ENV !== 'production'
|
||||
// ? 'vue-style-loader'
|
||||
// : MiniCssExtractPlugin.loader,
|
||||
MiniCssExtractPlugin.loader,
|
||||
// 'vue-style-loader',
|
||||
'css-loader'
|
||||
]
|
||||
}, {
|
||||
test: /\.scss$/,
|
||||
use: [
|
||||
process.env.NODE_ENV !== 'production'
|
||||
? 'vue-style-loader'
|
||||
: MiniCssExtractPlugin.loader,
|
||||
// process.env.NODE_ENV !== 'production'
|
||||
// ? 'vue-style-loader'
|
||||
// : MiniCssExtractPlugin.loader,
|
||||
MiniCssExtractPlugin.loader,
|
||||
// 'vue-style-loader',
|
||||
'css-loader',
|
||||
'sass-loader'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@ global-css:
|
|||
theme:
|
||||
assets/fonts/ubuntu/ubuntu.css: {}
|
||||
assets/styles/mdi/css/materialdesignicons.min.css: {}
|
||||
# assets/dist/main.css: {}
|
||||
assets/dist/main.css: {}
|
||||
|
||||
global-js:
|
||||
version: VERSION
|
||||
|
|
Loading…
Reference in New Issue