diff --git a/CHANGELOG.md b/CHANGELOG.md index fc3c8f87..3a1cc0c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [2.4.7](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.4.6...v2.4.7) (2022-01-13) + + +### Bug Fixes + +* multiple serializer registrations ([#894](https://github.com/webpack-contrib/mini-css-extract-plugin/issues/894)) ([c784204](https://github.com/webpack-contrib/mini-css-extract-plugin/commit/c784204772538ab8984e1c25e4501a7602b41ad1)) + ### [2.4.6](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.4.5...v2.4.6) (2022-01-06) diff --git a/package-lock.json b/package-lock.json index 88f82778..d5a6ee09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mini-css-extract-plugin", - "version": "2.4.6", + "version": "2.4.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mini-css-extract-plugin", - "version": "2.4.6", + "version": "2.4.7", "license": "MIT", "dependencies": { "schema-utils": "^4.0.0" diff --git a/package.json b/package.json index 37d00987..f7e71828 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mini-css-extract-plugin", - "version": "2.4.6", + "version": "2.4.7", "description": "extracts CSS into separate files", "license": "MIT", "repository": "webpack-contrib/mini-css-extract-plugin", diff --git a/src/index.js b/src/index.js index 24573504..43f9033c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ /* eslint-disable class-methods-use-this */ +import path from "path"; import { validate } from "schema-utils"; import schema from "./plugin-options.json"; @@ -205,7 +206,7 @@ class MiniCssExtractPlugin { webpack.util.serialization.register( CssModule, - "mini-css-extract-plugin/dist/CssModule", + path.resolve(__dirname, "CssModule"), null, { serialize(instance, context) { @@ -312,7 +313,7 @@ class MiniCssExtractPlugin { webpack.util.serialization.register( CssDependency, - "mini-css-extract-plugin/dist/CssDependency", + path.resolve(__dirname, "CssDependency"), null, { serialize(instance, context) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy