Snowpack embeds styles into JS code #2467
just-boris
started this conversation in
Ideas
Replies: 1 comment
-
Hi @just-boris thanks for bringing this up. I will surface to the other maintainers as a potential issue so they can investigate. |
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.
-
When I am importing a css file inside of the project, it works as expected:
src/index.js
However, if a css file is imported inside the
node_modules
, it will remain inlined in the Javascript:node_modules/my-ui-library/index.js
Looks like this behavior is defined in the esinstall code and it does not seem to be configurable.
Is there a chance to change this behavior and support this use-case?
Beta Was this translation helpful? Give feedback.
All reactions