vite-plugin-no-bundle
Version:
Use Vite for building without the bundling part.
14 lines (11 loc) • 458 B
TypeScript
import { Plugin } from 'vite';
interface Config {
/** @see https://rollupjs.org/guide/en/#outputpreservemodulesroot */
root?: string;
/** Glob(s) for marking files as external while copying them to the output. */
copy?: string | string[];
/** Glob(s) for marking files as non-external, preserving them in the output. */
internal?: string | string[];
}
declare function plugin(config?: Config): Plugin;
export { plugin as default };