Replies: 2 comments 3 replies
-
This is a tricky one. We're working on some tooling to handle this ATM but nothing to share just yet. We're probably going to use a custom rollup config that chunks .css.js files separately. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@dagda1 Have you found a work around ? I have a component library that I'm using on multiple projects the issues is when I try to create a component inside a project with the same sprinkles exported from the component library I get the error document undefined I'm assuming is becuase I'm exporting everything from a .ts file and not a css.ts file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've hit a problem with creating a package that exports theming helpers.
I have a build script that uses rollup to create esm and cjs builds
The build output would look something like this:
There are all sorts of problems exporting
.css.*
files, especially for acjs
build were rollup transpiles into a single file.Is there any way around this?
The only thing I can think of is to let the consuming package just import the typescript.
Beta Was this translation helpful? Give feedback.
All reactions