-
Notifications
You must be signed in to change notification settings - Fork 15
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
Export names from global class or id #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! We need an option for that, because enable that by default is a breaking change, i think good name for that is exportGlobals
Hi @evilebottnawi , Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @jquense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM to me, seems like a reasonable option to be able to opt into
Hi,
I made this change to export global class name or id name.
Because our project used
css-loader
withlocal
mode without hash before.Now I want to switch mode to
global
mode and keep usingstyles.className
to reference class name in imported styles.Please help checking whether this PR hurts any backwards compatibility.
Thanks.
Related issue:
webpack-contrib/css-loader#258