-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
I have a web component-based design system that currently uses scss for handling styles pre-compile.
I want to switch to Lightning CSS, but the problem is your rollup bundler just creates a CSS file, but I need this code to work in my component
import CSS from './my-style.css'What I want is CSS filled with the string value of my compiled CSS,l ike what I have in the scss compiler.
here is my code that only creates css file. https://github.com/javadbat/design-system/blob/d895c20e923b7be0b7c7456e3578e48e24c3f6b9/tasks/build/builder/src/web-component-builder.ts#L139
Suggested solution
I need some config like {inline:true} so I can import css file content inline in my code or add some ?inline like so i could import my css file compile result in inline variable
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request