vite-plugin-solid-labels
v0.16.1
Published
Simple, reactive labels for SolidJS
Downloads
10
Maintainers
Readme
vite-plugin-solid-labels
Vite plugin for
solid-labels
Install
npm install --D solid-labels vite-plugin-solid-labels
yarn add -D solid-labels vite-plugin-solid-labels
pnpm add -D solid-labels vite-plugin-solid-labels
Usage
import solidLabels from 'vite-plugin-solid-labels';
///...
solidLabels({
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