Plugin configuration
The plugin offers several configuration options to customize its behavior:
Suppress warnings
Section titled “Suppress warnings”suppressWarnings (boolean): Default - false. Suppresses any warnings generated by the plugin.
For example, if you want to suppress warnings, you can set the suppressWarnings
option to true
in your vite.config.mts
file:
...export default defineConfig({ root: root, plugins: [ solidStyleToCssPlugin({ suppressWarnings: true }), ... ], ...});