Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify style file content #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cooljser
Copy link

No description provided.

@terence55
Copy link
Owner

Could you provide a reproducible demo in codesandbox or codepen for this issue?
Simplifications are made when using less-loader or sass-loader. This issue may occur when using only css-loader, but the PR implementation is intrusive as this plugin is only used for code generation and not code modification. To simplify the code, we can use optimize-css-assets-webpack-plugin for Webpack v4 or css-minimizer-webpack-plugin for Webpack v5.

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