diff --git a/src/index.ts b/src/index.ts index ec6f7dc5..dabc5c00 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,7 +30,21 @@ export interface VueLoaderOptions { transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'] compiler?: TemplateCompiler | string compilerOptions?: CompilerOptions + /** + * TODO remove in 3.4 + * @deprecated + */ reactivityTransform?: boolean + + /** + * @experimental + */ + propsDestructure?: boolean + /** + * @experimental + */ + defineModel?: boolean + customElement?: boolean | RegExp hotReload?: boolean diff --git a/src/resolveScript.ts b/src/resolveScript.ts index 760683bb..ee954ee0 100644 --- a/src/resolveScript.ts +++ b/src/resolveScript.ts @@ -62,6 +62,8 @@ export function resolveScript( isProd, inlineTemplate: enableInline, reactivityTransform: options.reactivityTransform, + propsDestructure: options.propsDestructure, + defineModel: options.defineModel, babelParserPlugins: options.babelParserPlugins, templateOptions: { ssr: isServer,