Skip to content

Commit 6ed57af

Browse files
committed
chore: remove mini-css-extract-plugin
1 parent 9506be2 commit 6ed57af

File tree

3 files changed

+3
-74
lines changed

3 files changed

+3
-74
lines changed

package-lock.json

Lines changed: 3 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
"less": "^3.10.3",
6969
"less-loader": "^5.0.0",
7070
"merge2": "^1.3.0",
71-
"mini-css-extract-plugin": "^0.9.0",
7271
"postcss-loader": "^3.0.0",
7372
"pre-commit": "^1.1.3",
7473
"react": "^16.10.2",

webpack.config.common.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const path = require('path');
22
const Config = require('webpack-chain');
33
const autoprefixer = require('autoprefixer');
4-
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
54

65
const DEFAULT_BROWSERS = [
76
'>1%',
@@ -58,9 +57,6 @@ config.module
5857
.use('style-loader')
5958
.loader('style-loader')
6059
.end()
61-
// .use('MiniCssExtractPlugin.loader')
62-
// .loader(MiniCssExtractPlugin.loader)
63-
// .end()
6460
.use('css-loader')
6561
.loader('css-loader')
6662
.options({
@@ -136,7 +132,4 @@ config.resolve
136132
.end()
137133
.modules.add(path.join(__dirname, 'node_modules'));
138134

139-
// config.plugin('MiniCssExtractPlugin')
140-
// .use(MiniCssExtractPlugin)
141-
142135
module.exports = config;

0 commit comments

Comments
 (0)