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