Skip to content

Commit

Permalink
fix: cache for webpack@5
Browse files Browse the repository at this point in the history
  • Loading branch information
leeonfield committed Sep 12, 2020
1 parent 1565706 commit 6a27b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CssDependency.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class CssDependency extends webpack.Dependency {
if (webpack.util && webpack.util.serialization) {
webpack.util.serialization.register(
CssDependency,
'mini-css-extract-plugin/src/CssDependency',
'mini-css-extract-plugin/dist/CssDependency',
null,
{
serialize(instance, context) {
Expand Down
2 changes: 1 addition & 1 deletion src/CssModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class CssModule extends webpack.Module {
if (webpack.util && webpack.util.serialization) {
webpack.util.serialization.register(
CssModule,
'mini-css-extract-plugin/src/CssModule',
'mini-css-extract-plugin/dist/CssModule',
null,
{
serialize(instance, context) {
Expand Down

0 comments on commit 6a27b30

Please sign in to comment.