We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65af0bb commit c784204Copy full SHA for c784204
src/index.js
@@ -1,5 +1,6 @@
1
/* eslint-disable class-methods-use-this */
2
3
+import path from "path";
4
import { validate } from "schema-utils";
5
6
import schema from "./plugin-options.json";
@@ -205,7 +206,7 @@ class MiniCssExtractPlugin {
205
206
207
webpack.util.serialization.register(
208
CssModule,
- "mini-css-extract-plugin/dist/CssModule",
209
+ path.resolve(__dirname, "CssModule"),
210
null,
211
{
212
serialize(instance, context) {
@@ -312,7 +313,7 @@ class MiniCssExtractPlugin {
312
313
314
315
CssDependency,
- "mini-css-extract-plugin/dist/CssDependency",
316
+ path.resolve(__dirname, "CssDependency"),
317
318
319
0 commit comments