rollup-plugin-solid-labels
v0.16.1
Published
Simple, reactive labels for SolidJS
Downloads
3
Maintainers
Readme
rollup-plugin-solid-labels
Rollup plugin for
solid-labels
Install
npm install --D solid-labels rollup-plugin-solid-labels
yarn add -D solid-labels rollup-plugin-solid-labels
pnpm add -D solid-labels rollup-plugin-solid-labels
Usage
import solidLabels from 'rollup-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}',
},
})
Note When you are using a SolidJS Rollup plugin, make sure that solid-labels runs first.
Sponsors
License
MIT © lxsmnsyc