rollup-plugin-postcss
- Version 4.0.2
- Published
- 42.5 kB
- 13 dependencies
- MIT license
Install
npm i rollup-plugin-postcss
yarn add rollup-plugin-postcss
pnpm add rollup-plugin-postcss
Overview
Seamless integration between Rollup and PostCSS
Index
Functions
Type Aliases
Functions
function default
default: (options?: Readonly<PostCSSPluginConf>) => Plugin;
Type Aliases
type FunctionType
type FunctionType<T = any, U = any> = (...args: readonly T[]) => U;
type onExtract
type onExtract = ( asset: Readonly<{ code: any; map: any; codeFileName: string; mapFileName: string; }>) => boolean;
type PostCSSPluginConf
type PostCSSPluginConf = { inject?: | boolean | Record<string, any> | ((cssVariableName: string, id: string) => string); extract?: boolean | string; onExtract?: onExtract; modules?: boolean | Record<string, any>; extensions?: string[]; plugins?: any[]; autoModules?: boolean; namedExports?: boolean | ((id: string) => string); minimize?: boolean | any; parser?: string | FunctionType; stringifier?: string | FunctionType; syntax?: string | FunctionType; exec?: boolean; config?: | boolean | { path: string; ctx: any; }; to?: string; name?: any[] | any[][]; loaders?: any[]; onImport?: (id: string) => void; use?: string[] | { [key in 'sass' | 'stylus' | 'less']: any }; /** * @default: false **/ sourceMap?: boolean | 'inline'; include?: Parameters<CreateFilter>[0]; exclude?: Parameters<CreateFilter>[1];};
Package Files (1)
Dependencies (13)
Dev Dependencies (16)
Peer Dependencies (1)
Badge
To add a badge like this oneto 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
.
- Markdown[](https://www.jsdocs.io/package/rollup-plugin-postcss)
- HTML<a href="https://www.jsdocs.io/package/rollup-plugin-postcss"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2001 ms. - Missing or incorrect documentation? Open an issue for this package.