1 | import { SFCTemplateCompileOptions, SFCAsyncStyleCompileOptions } from '@vue/compiler-sfc';
|
2 | import { Plugin } from 'rollup';
|
3 | export interface Options {
|
4 | include: string | RegExp | (string | RegExp)[];
|
5 | exclude: string | RegExp | (string | RegExp)[];
|
6 | target: 'node' | 'browser';
|
7 | exposeFilename: boolean;
|
8 | customBlocks?: string[];
|
9 | preprocessStyles?: boolean;
|
10 | templatePreprocessOptions?: Record<string, SFCTemplateCompileOptions['preprocessOptions']>;
|
11 | compiler?: SFCTemplateCompileOptions['compiler'];
|
12 | compilerOptions?: SFCTemplateCompileOptions['compilerOptions'];
|
13 | transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'];
|
14 | postcssOptions?: SFCAsyncStyleCompileOptions['postcssOptions'];
|
15 | postcssPlugins?: SFCAsyncStyleCompileOptions['postcssPlugins'];
|
16 | cssModulesOptions?: SFCAsyncStyleCompileOptions['modulesOptions'];
|
17 | preprocessCustomRequire?: SFCAsyncStyleCompileOptions['preprocessCustomRequire'];
|
18 | preprocessOptions?: SFCAsyncStyleCompileOptions['preprocessOptions'];
|
19 | }
|
20 | export default function PluginVue(userOptions?: Partial<Options>): Plugin;
|