Skip to content

Plugin configuration

The plugin offers several configuration options to customize its behavior:

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:

vite.config.mts
...
export default defineConfig({
root: root,
plugins: [
solidStyleToCssPlugin({
suppressWarnings: true
}),
...
],
...
});