• Version 3.1.3
  • Published
  • 4.46 kB
  • 2 dependencies
  • MIT license


npm i @types/rollup-plugin-css-only
yarn add @types/rollup-plugin-css-only
pnpm add @types/rollup-plugin-css-only


TypeScript definitions for rollup-plugin-css-only



function css

css: (options?: css.Options) => Plugin;


    interface Options

    interface Options {}

      property exclude

      exclude?: ReadonlyArray<string | RegExp> | string | RegExp | null;
      • CSS files to exclude from being parsed

      property include

      include?: ReadonlyArray<string | RegExp> | string | RegExp | null;
      • All CSS files will be parsed by default, but you can also specifically include files

      property output

      | boolean
      | string
      | ((
      styles: string,
      styleNodes: Record<string, string>,
      bundle: OutputBundle
      ) => void)
      | null
      | undefined;
      • Callback that will be called ongenerate

      Package Files (1)

      Dependencies (2)

      Dev Dependencies (0)

      No dev dependencies.

      Peer Dependencies (0)

      No peer dependencies.


      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/rollup-plugin-css-only.

      • Markdown
      • HTML
        <a href="https://www.jsdocs.io/package/@types/rollup-plugin-css-only"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>