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

Missing "./postcss/buttons" export in "open-props" package #283

Closed
Crisfole opened this issue Sep 19, 2022 · 1 comment · Fixed by #284
Closed

Missing "./postcss/buttons" export in "open-props" package #283

Crisfole opened this issue Sep 19, 2022 · 1 comment · Fixed by #284

Comments

@Crisfole
Copy link
Contributor

This is pretty readily repeatable by installing open-props with NPM (or PNPM, or YARN, or whatever you want). Then create the following file named app.postcss:

@import "open-props/postcss/style";
@import "open-props/postcss/normalize";
@import "open-props/postcss/buttons";

When trying to compile it (I'm consuming it from Svelte Kit, using their post css adapter), it will inform you that Missing "./postcss/buttons" export in "open-props" package. Which is true, the package.json doesn't define any postcss/* exports apart from style and normalize:

image

Even trying to directly import the file I care about fails:

@import "open-props/postcss/style";
@import "open-props/postcss/normalize";
@import "open-props/src/extra/buttons.css";

With:
Missing "./src/extra/buttons.css" export in "open-props" package

@argyleink
Copy link
Owner

lemme add those missing exports then!

argyleink added a commit that referenced this issue Sep 20, 2022
@argyleink argyleink linked a pull request Sep 20, 2022 that will close this issue
argyleink added a commit that referenced this issue Sep 20, 2022
kelvindecosta pushed a commit to kelvindecosta/open-props that referenced this issue Nov 16, 2022
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 a pull request may close this issue.

2 participants