UNPKG

rollup-plugin-atomic

Version:
32 lines (31 loc) 2.73 kB
import type resolve from "@rollup/plugin-node-resolve"; declare type RollupResolveOptions = Parameters<typeof resolve>[0]; import type commonjs from "@rollup/plugin-commonjs"; declare type RollupCommonjsOptions = Parameters<typeof commonjs>[0]; import type { terser } from "rollup-plugin-terser"; declare type RollupTerserOptions = Parameters<typeof terser>[0]; import type sourcemaps from "rollup-plugin-sourcemaps"; declare type RollupSourcemapsOptions = Parameters<typeof sourcemaps>[0]; import type replace from "@rollup/plugin-replace"; declare type RollupReplaceOptions = Parameters<typeof replace>[0]; import type autoExternal from "rollup-plugin-auto-external"; declare type RollupAutoexternalOptions = Parameters<typeof autoExternal>[0] & Record<string, any>; import type typescript from "@rollup/plugin-typescript"; declare type RollupTypeScriptOptions = Parameters<typeof typescript>[0]; import type coffeescript from "rollup-plugin-coffee-script"; declare type RollupCoffeeOptions = Parameters<typeof coffeescript>[0] & Record<string, any>; import type json from "@rollup/plugin-json"; declare type RollupJsonOptions = Parameters<typeof json>[0]; import type cssOnly from "rollup-plugin-css-only"; declare type RollupCssonlyOptions = Parameters<typeof cssOnly>[0] & Record<string, any>; import type babel from "@rollup/plugin-babel"; declare type RollupBabelOptions = Parameters<typeof babel>[0]; import type { wasm } from "@rollup/plugin-wasm"; declare type RollupWasmOptions = Parameters<typeof wasm>[0]; import type { asc } from "rollup-plugin-assemblyscript"; declare type RollupAscOptions = Parameters<typeof asc>[0] & Record<string, any>; import type visualizer from "rollup-plugin-visualizer"; declare type RollupVisualizerOptions = Parameters<typeof visualizer>[0]; export declare type Plugin = "js" | "ts" | "coffee" | "json" | "css" | "babel" | "wasm" | "as" | "terser" | "replace" | "sourcemaps" | "commonjs" | "resolve" | "autoExternal" | "visualizer" | ["ts", RollupTypeScriptOptions, boolean?] | ["babel", RollupBabelOptions, boolean?] | ["coffee", RollupCoffeeOptions, boolean?] | ["json", RollupJsonOptions, boolean?] | ["css", RollupCssonlyOptions, boolean?] | ["wasm", RollupWasmOptions, boolean?] | ["as", RollupAscOptions, boolean?] | ["terser", RollupTerserOptions, boolean?] | ["replace", RollupReplaceOptions, boolean?] | ["sourcemaps", RollupSourcemapsOptions, boolean?] | ["commonjs", RollupCommonjsOptions, boolean?] | ["resolve", RollupResolveOptions, boolean?] | ["autoExternal", RollupAutoexternalOptions, boolean?] | ["visualizer", RollupVisualizerOptions, boolean?]; export declare function createPlugins(inputPluginsNames?: Array<Plugin>, extraPlugins?: Array<any>): any[]; export {};