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

fix: expose scss files in package.json 'exports' #43

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

Rhys-T
Copy link
Contributor

@Rhys-T Rhys-T commented Mar 3, 2023

Some build systems (e.g. Webpack with sass-loader) use the exports key in package.json when looking for .scss files, which kept things like:

@use "@catppuccin/palette/scss/catppuccin";

from being able to find the files. This adds those files to exports so they can be resolved properly.

Some build systems (e.g. Webpack with sass-loader) use the `exports` key
in package.json when looking for .scss files, which kept things like:
```scss
@use "@catppuccin/palette/scss/catppuccin";
```
from being able to find the files. This adds those files to `exports` so
they can be resolved properly.
@nekowinston nekowinston merged commit 0bc8247 into catppuccin:main Mar 3, 2023
@nekowinston
Copy link
Contributor

Thanks for your PR!

@nekowinston
Copy link
Contributor

Included in v0.1.7: https://www.npmjs.com/package/@catppuccin/palette

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