rollup-plugin-postcss-modules

  • Version 2.1.1
  • Published
  • 10.2 kB
  • 4 dependencies
  • GPL-3.0 license

Install

npm i rollup-plugin-postcss-modules
yarn add rollup-plugin-postcss-modules
pnpm add rollup-plugin-postcss-modules

Overview

rollup-plugin-postcss wrapper with built-in CSS module and TypeScript support

Index

Functions

function eslintPluginPostCSSModules

eslintPluginPostCSSModules: (options?: Options) => Plugin;

    Interfaces

    interface Options

    interface Options extends PostCSSPluginConf {}

      property writeDefinitions

      writeDefinitions?: boolean | DefinitionCB;

        Type Aliases

        type DefinitionCB

        type DefinitionCB = (dPath: string) => void | PromiseLike<void>;

          Package Files (1)

          Dependencies (4)

          Dev Dependencies (22)

          Peer Dependencies (1)

          Badge

          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/rollup-plugin-postcss-modules.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rollup-plugin-postcss-modules)
          • HTML
            <a href="https://www.jsdocs.io/package/rollup-plugin-postcss-modules"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>