diff --git a/webpack.config.js b/webpack.config.js index ba77386..791302b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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: {