版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.d.ts 728 B

123456789101112
  1. import { PluginType, OptionsPlugin, PluginMap, Factory, UnpluginCombineInstance } from './types.js';
  2. export { CombineOptions, FactoryOutput, Plugin, Unplugin, WebpackPlugin } from './types.js';
  3. export { Plugin as RollupPlugin } from 'rollup';
  4. export { Plugin as VitePlugin } from 'vite';
  5. export { Plugin as EsbuildPlugin } from 'esbuild';
  6. import 'unplugin';
  7. import 'webpack';
  8. declare function resolvePlugins<T extends PluginType>(plugins: OptionsPlugin, type: T): Array<PluginMap[T]>;
  9. declare const createCombinePlugin: <UserOptions>(factory: Factory<UserOptions>) => UnpluginCombineInstance<UserOptions>;
  10. export { Factory, OptionsPlugin, PluginMap, PluginType, UnpluginCombineInstance, createCombinePlugin, resolvePlugins };