fix(deps) mini-css-extract-plugin loader (#633)

This commit is contained in:
Howard Yin
2021-09-26 03:42:36 +08:00
committed by GitHub
parent e7faeb24a0
commit e6a2bf2975
+18 -3
View File
@@ -70,7 +70,12 @@ module.exports = {
test: /\.css$/,
use: [
'vue-style-loader',
MiniCssExtractPlugin.loader,
{
loader: MiniCssExtractPlugin.loader,
options: {
esModule: false,
},
},
{
loader: 'css-loader',
options: {
@@ -91,7 +96,12 @@ module.exports = {
test: /\.less$/,
use: [
'vue-style-loader',
MiniCssExtractPlugin.loader,
{
loader: MiniCssExtractPlugin.loader,
options: {
esModule: false,
},
},
{
loader: 'css-loader',
options: {
@@ -113,7 +123,12 @@ module.exports = {
test: /\.scss$/,
use: [
'vue-style-loader',
MiniCssExtractPlugin.loader,
{
loader: MiniCssExtractPlugin.loader,
options: {
esModule: false,
},
},
{
loader: 'css-loader',
options: {