-
Notifications
You must be signed in to change notification settings - Fork 415
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
Add scope option for libraries #299
Comments
Closes callstack#299. See also callstack#208, callstack#178
Closes callstack#299. See also callstack#208, callstack#178
Closes callstack#299. See also callstack#208, callstack#178
new classPrefix option Closes callstack#299. See also callstack#208, callstack#178
new classPrefix option Closes callstack#299. See also callstack#208, callstack#178
@zamotany what is a use case for this feature. Do you want to be able to add a prefix to class names generated by linaria? It would be useful while building component libraries, right? |
Yup, avoiding classname conflicts when publishing css from a library was the goal |
Since code for this feature is already there (#369), but only needs migration to TypeScript, I mark it as good first issue |
I missed out that we have |
Do you want to request a feature or report a bug?
feature
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can
yarn install
andyarn test
.What is the expected behavior?
Please provide your exact Babel configuration and mention your Linaria, Node, Yarn/npm version and operating system.
The text was updated successfully, but these errors were encountered: