File tree 1 file changed +37
-13
lines changed
1 file changed +37
-13
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,16 @@ export interface Options {
37
37
38
38
// options to pass on to vue/compiler-sfc
39
39
script ?: Partial <
40
- Pick <
40
+ Omit <
41
41
SFCScriptCompileOptions ,
42
- | 'babelParserPlugins'
43
- | 'globalTypeFiles'
44
- | 'propsDestructure'
45
- | 'fs'
46
- | 'hoistStatic'
42
+ | 'id'
43
+ | 'isProd'
44
+ | 'inlineTemplate'
45
+ | 'templateOptions'
46
+ | 'sourceMap'
47
+ | 'genDefaultAs'
48
+ | 'customElement'
49
+ | 'defineModel'
47
50
>
48
51
> & {
49
52
/**
@@ -53,17 +56,38 @@ export interface Options {
53
56
defineModel ?: boolean
54
57
}
55
58
template ?: Partial <
56
- Pick <
59
+ Omit <
57
60
SFCTemplateCompileOptions ,
58
- | 'compiler'
59
- | 'compilerOptions'
60
- | 'preprocessOptions'
61
+ | 'id'
62
+ | 'source'
63
+ | 'ast'
64
+ | 'filename'
65
+ | 'scoped'
66
+ | 'slotted'
67
+ | 'isProd'
68
+ | 'inMap'
69
+ | 'ssr'
70
+ | 'ssrCssVars'
71
+ | 'preprocessLang'
72
+ >
73
+ >
74
+ style ?: Partial <
75
+ Omit <
76
+ SFCStyleCompileOptions ,
77
+ | 'filename'
78
+ | 'id'
79
+ | 'isProd'
80
+ | 'source'
81
+ | 'scoped'
82
+ | 'cssDevSourcemap'
83
+ | 'postcssOptions'
84
+ | 'map'
85
+ | 'postcssPlugins'
61
86
| 'preprocessCustomRequire'
62
- | 'transformAssetUrls'
87
+ | 'preprocessLang'
88
+ | 'preprocessOptions'
63
89
>
64
90
>
65
- style ?: Partial < Pick < SFCStyleCompileOptions , 'trim' > >
66
-
67
91
/**
68
92
* Transform Vue SFCs into custom elements.
69
93
* - `true`: all `*.vue` imports are converted into custom elements
You can’t perform that action at this time.
0 commit comments