@clawject/di
Version:
<p align="center"> <a href="https://clawject.com/" target="_blank"><img src="https://clawject.com/img/logo.svg" align="center" alt="Clawject Logo" width="120" height="120" /></a> </p>
44 lines (39 loc) • 1.27 kB
TypeScript
import { Plugin as Plugin_2 } from 'vite';
declare const _default: (options?: Options | undefined) => Plugin_2<any> | Plugin_2<any>[];
export default _default;
/**
* A valid `picomatch` glob pattern, or array of patterns.
*/
declare type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
declare type Options = {
/**
* The patterns of files to include.
*
* `Default`: `[/\.[cm]?tsx?$/]`
*/
include?: FilterPattern;
/**
* The patterns of files to exclude.
*
* `Default`: `[/node_modules/]`
*/
exclude?: FilterPattern;
/**
* The path to the tsconfig file.
* If not specified, the plugin will try to find it automatically.
*
* `Default`: `tsconfig.json`
*/
tsconfig?: string;
/**
* Whether to skip the compilation.
*
* If you're already using TypeScript compiler to compile your code, you can set this to `true`
* to skip the additional compilation by this plugin
* and utilize clawject transformer as a typescript compiler plugin https://clawject.com/docs/setup#bundler-with-typescript-loader
*
* `Default`: `false`
*/
skipCompilation?: boolean;
};
export { }