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$/,
|
test: /\.css$/,
|
||||||
use: [
|
use: [
|
||||||
process.env.NODE_ENV !== 'production'
|
// process.env.NODE_ENV !== 'production'
|
||||||
? 'vue-style-loader'
|
// ? 'vue-style-loader'
|
||||||
: MiniCssExtractPlugin.loader,
|
// : MiniCssExtractPlugin.loader,
|
||||||
|
MiniCssExtractPlugin.loader,
|
||||||
// 'vue-style-loader',
|
// 'vue-style-loader',
|
||||||
'css-loader'
|
'css-loader'
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
use: [
|
use: [
|
||||||
process.env.NODE_ENV !== 'production'
|
// process.env.NODE_ENV !== 'production'
|
||||||
? 'vue-style-loader'
|
// ? 'vue-style-loader'
|
||||||
: MiniCssExtractPlugin.loader,
|
// : MiniCssExtractPlugin.loader,
|
||||||
|
MiniCssExtractPlugin.loader,
|
||||||
// 'vue-style-loader',
|
// 'vue-style-loader',
|
||||||
'css-loader',
|
'css-loader',
|
||||||
'sass-loader'
|
'sass-loader'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@ global-css:
|
||||||
theme:
|
theme:
|
||||||
assets/fonts/ubuntu/ubuntu.css: {}
|
assets/fonts/ubuntu/ubuntu.css: {}
|
||||||
assets/styles/mdi/css/materialdesignicons.min.css: {}
|
assets/styles/mdi/css/materialdesignicons.min.css: {}
|
||||||
# assets/dist/main.css: {}
|
assets/dist/main.css: {}
|
||||||
|
|
||||||
global-js:
|
global-js:
|
||||||
version: VERSION
|
version: VERSION
|
||||||
|
|
Loading…
Reference in New Issue