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
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
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
?inlinelike so i could import my css file compile result in inline variableAlternative
No response
Additional context
No response
Validations