Skip to content

Commit c39593f

Browse files
committed
fix: mini-css-extract-plugin does not return the class in 2.5.0
See webpack-contrib/mini-css-extract-plugin#896
1 parent 1d62871 commit c39593f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
const { resolve, join } = require("path");
33

4-
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
4+
const MiniCssExtractPlugin = require("mini-css-extract-plugin").default;
55
const postcssEnv = require("postcss-preset-env");
66
const cssnano = require("cssnano");
77

0 commit comments

Comments
 (0)