rollup-plugin-solid-styled
TypeScript icon, indicating that this package has built-in type declarations

0.11.1 • Public • Published

rollup-plugin-solid-styled

Rollup plugin for solid-styled

NPM JavaScript Style Guide

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

Sponsors

License

MIT © lxsmnsyc

Readme

Keywords

Package Sidebar

Install

npm i rollup-plugin-solid-styled

Weekly Downloads

0

Version

0.11.1

License

MIT

Unpacked Size

9.06 kB

Total Files

11

Last publish

Collaborators

  • lxsmnsyc