vite-plugin-solid-styled
v0.11.1
Published
Vite plugin for solid-styled
Downloads
339
Readme
vite-plugin-solid-styled
Vite plugin for
solid-styled
Install
npm install --D vite-plugin-solid-styled
yarn add -D vite-plugin-solid-styled
pnpm add -D vite-plugin-solid-styled
Usage
import solidStyled from 'vite-plugin-solid-styled';
import solid from 'vite-plugin-solid';
///...
export default {
plugins: [
solid(),
solidStyled({
prefix: 'my-prefix', // optional
filter: {
include: 'src/**/*.{ts,js,tsx,jsx}',
exclude: 'node_modules/**/*.{ts,js,tsx,jsx}',
},
}),
]
}
Config options
{
// Toggle verbose scope names based
// on the owning component's name,
// useful for debugging
// Default: false
"verbose": true,
// Allows prefixing scope names
// useful for package publishing
// Default: undefined ('')
"prefix": "example",
}
Sponsors
License
MIT © lxsmnsyc