You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{render}from'preact-render-to-string';// Node.js does not support named imports for JSONimportcssfrom'./component.css.json'with{type: 'json' };console.log(render(<divid={css.warning}></div>));
component.css.json:
{
// "unmangled name of ID": "name in CSS bundle""warning": "x1bz9l0f"
}
Describe the problem
At the moment, there is no simple way to support CSS for server-side rendering:
Describe the proposed solution
component.ts
:component.css.json
:component.css
:Alternatives considered
Importance
I cannot use modular-css without it
The text was updated successfully, but these errors were encountered: