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

Adding support for "additionalData" #239

Open
leifniem opened this issue Apr 16, 2024 · 1 comment
Open

Adding support for "additionalData" #239

leifniem opened this issue Apr 16, 2024 · 1 comment
Labels
Type: Add Add new features.

Comments

@leifniem
Copy link

While working on our design system i ran into the issue that we use the additionalData option present in Vite and Webpack's scss-loader to add global preambles for importing our SCSS variables and the Sass libraries for math, lists, etc.

This is probably a use case for a custom resolver, but i wanted to check if this is probably an option that should be available to the cli.

Thanks for this project, it's very promising!

@mizdra mizdra added the Type: Add Add new features. label May 11, 2024
@mizdra
Copy link
Owner

mizdra commented May 11, 2024

--additionalData option is currently not supported.

This is a feature missing from happy-css-modules. I think that it would be worth implementing 👍.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Add Add new features.
Projects
None yet
Development

No branches or pull requests

2 participants