Skip to content

[module-minifier-plugin] Fix compatibility issue with mini-css-extract-plugin#2863

Merged
dmichon-msft merged 5 commits intomicrosoft:masterfrom
dmichon-msft:module-minifier-mini-css-compat
Aug 17, 2021
Merged

[module-minifier-plugin] Fix compatibility issue with mini-css-extract-plugin#2863
dmichon-msft merged 5 commits intomicrosoft:masterfrom
dmichon-msft:module-minifier-mini-css-compat

Conversation

@dmichon-msft
Copy link
Copy Markdown
Contributor

Summary

Configures the ModuleMinifierPlugin to ignore non-JavaScript modules/assets as appropriate.

Details

If the asset being rendered does not use the JavaScript module template, leaves the rendered modules in place instead of replacing the content with a marker.

How it was tested

Used built version against a separate project with mini-css-extract-plugin in use.

Comment thread webpack/module-minifier-plugin/src/ModuleMinifierPlugin.ts Outdated
Comment thread webpack/module-minifier-plugin/src/ModuleMinifierPlugin.ts
@dmichon-msft dmichon-msft merged commit 7470dbf into microsoft:master Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants