Closed layershifter closed 5 months ago
@griffel/tag-processor
Current implementation of the plugin will force exit if cssText is empty:
cssText
https://github.com/Anber/wyw-in-js/blob/d92d4db45e672210bf82a3284edf1e28a18df77d/packages/vite/src/index.ts#L166
This makes a lot of sense for Linaria, however with Griffel we would like to have CSS extraction optional. Due the condition, even if transform happens, it will not be applied:
Environment
@griffel/tag-processor
Description
Current implementation of the plugin will force exit if
cssText
is empty:https://github.com/Anber/wyw-in-js/blob/d92d4db45e672210bf82a3284edf1e28a18df77d/packages/vite/src/index.ts#L166
This makes a lot of sense for Linaria, however with Griffel we would like to have CSS extraction optional. Due the condition, even if transform happens, it will not be applied: