diff --git a/packages/plugin-vue/README.md b/packages/plugin-vue/README.md index 1b6e025c..d5b45a63 100644 --- a/packages/plugin-vue/README.md +++ b/packages/plugin-vue/README.md @@ -23,7 +23,18 @@ export interface Options { isProduction?: boolean // options to pass on to vue/compiler-sfc - script?: Partial> + script?: Partial< + Pick< + SFCScriptCompileOptions, + | 'babelParserPlugins' + | 'globalTypeFiles' + | 'defineModel' + | 'propsDestructure' + | 'fs' + | 'reactivityTransform' + > + > + template?: Partial< Pick< SFCTemplateCompileOptions, diff --git a/packages/plugin-vue/src/index.ts b/packages/plugin-vue/src/index.ts index d2109370..0f5c19cc 100644 --- a/packages/plugin-vue/src/index.ts +++ b/packages/plugin-vue/src/index.ts @@ -34,6 +34,7 @@ export interface Options { Pick< SFCScriptCompileOptions, | 'babelParserPlugins' + | 'globalTypeFiles' | 'defineModel' | 'propsDestructure' | 'fs'