@types/rollup-plugin-css-only
TypeScript definitions for rollup-plugin-css-only
Last updated 4 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/rollup-plugin-css-only 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/rollup-plugin-css-only

Summary

This package contains type definitions for rollup-plugin-css-only (https://github.com/thgh/rollup-plugin-css-only).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-css-only.

index.d.ts

// Type definitions for rollup-plugin-css-only 3.1
// Project: https://github.com/thgh/rollup-plugin-css-only
// Definitions by: Mateusz Szewc <https://github.com/SitamMatt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />
import { OutputBundle, Plugin } from "rollup";

declare namespace css {
    interface Options {
        /**
         *  All CSS files will be parsed by default, but you can also specifically include files
         */
        include?: ReadonlyArray<string | RegExp> | string | RegExp | null;
        /**
         *  CSS files to exclude from being parsed
         */
        exclude?: ReadonlyArray<string | RegExp> | string | RegExp | null;
        /**
         * Callback that will be called ongenerate
         */
        output?:
            | boolean
            | string
            | ((styles: string, styleNodes: Record<string, string>, bundle: OutputBundle) => void)
            | null
            | undefined;
    }
}

declare function css(options?: css.Options): Plugin;
export = css;

Additional Details

Credits

These definitions were written by Mateusz Szewc.

Current Tags

  • 3.1.1                                ...           latest (3 years ago)
  • 3.1.0                                ...           ts3.7 (4 years ago)
  • 3.1.0                                ...           ts3.8 (4 years ago)
  • 3.1.0                                ...           ts3.9 (4 years ago)
  • 3.1.0                                ...           ts4.0 (4 years ago)
  • 3.1.0                                ...           ts4.1 (4 years ago)
  • 3.1.0                                ...           ts4.2 (4 years ago)
  • 3.1.0                                ...           ts4.3 (4 years ago)
  • 3.1.0                                ...           ts4.4 (4 years ago)
  • 3.1.1                                ...           ts4.5 (3 years ago)
  • 3.1.1                                ...           ts4.6 (3 years ago)
  • 3.1.1                                ...           ts4.7 (3 years ago)
  • 3.1.1                                ...           ts4.8 (3 years ago)
  • 3.1.1                                ...           ts4.9 (3 years ago)
  • 3.1.1                                ...           ts5.0 (3 years ago)
  • 3.1.1                                ...           ts5.1 (3 years ago)
  • 3.1.1                                ...           ts5.2 (3 years ago)
  • 3.1.1                                ...           ts5.3 (3 years ago)

2 Versions

  • 3.1.1                                ...           3 years ago
  • 3.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |