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

chore: add exports field to package.json #1864

Merged
merged 2 commits into from
Dec 16, 2023
Merged

chore: add exports field to package.json #1864

merged 2 commits into from
Dec 16, 2023

Conversation

hslee2008
Copy link
Contributor

@metonym
Copy link
Collaborator

metonym commented Dec 15, 2023

Thanks for this. In my testing, subpaths for css and src need to included as well.

Otherwise, these imports would fail when Vite attempts to prebundle the library:

import "carbon-components-svelte/css/all.css";
import Button from "carbon-components-svelte/src/Button/Button.svelte";

@metonym metonym changed the title Add exports field in package.json chore: add exports field to package.json Dec 16, 2023
@metonym metonym merged commit 7bef3fa into carbon-design-system:master Dec 16, 2023
1 check passed
@metonym
Copy link
Collaborator

metonym commented Dec 16, 2023

Fixed in v0.82.5

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