unplugin-solid-labels
Unplugin for
solid-labels
Install
npm install --D solid-labels unplugin-solid-labels
yarn add -D solid-labels unplugin-solid-labels
pnpm add -D solid-labels unplugin-solid-labels
Usage
import solidLabels from 'unplugin-solid-labels';
///...
solidLabels.vite({
dev: true, // defaults to false
disabled: {
labels: {
signal: true,
},
pragma: {
'@signal': true,
},
ctf: {
$signal: true,
},
},
filter: {
include: 'src/**/*.{ts,js,tsx,jsx}',
exclude: 'node_modules/**/*.{ts,js,tsx,jsx}',
},
})
Sponsors
License
MIT © lxsmnsyc