rollup-plugin-solid-styled
v0.11.1
Published
Rollup plugin for solid-styled
Downloads
20
Readme
rollup-plugin-solid-styled
Rollup plugin for
solid-styled
Install
npm install --D rollup-plugin-solid-styled
yarn add -D rollup-plugin-solid-styled
pnpm add -D rollup-plugin-solid-styled
Usage
import solidStyled from 'rollup-plugin-solid-styled';
///...
solidStyled({
verbose: true, // defaults to false
prefix: 'my-prefix', // optional
filter: {
include: 'src/**/*.{ts,js,tsx,jsx}',
exclude: 'node_modules/**/*.{ts,js,tsx,jsx}',
},
})
[!NOTE] When you are using a SolidJS Rollup plugin, make sure that solid-styled runs first.
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