File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,19 @@ export interface Options {
21
21
isProduction? : boolean
22
22
23
23
// options to pass on to vue/compiler-sfc
24
- script? : Partial <SFCScriptCompileOptions >
25
- template? : Partial <SFCTemplateCompileOptions >
26
- style? : Partial <SFCStyleCompileOptions >
24
+ script? : Partial <Pick <SFCScriptCompileOptions , ' babelParserPlugins' >>
25
+ template? : Partial <
26
+ Pick <
27
+ SFCTemplateCompileOptions ,
28
+ | ' compiler'
29
+ | ' compilerOptions'
30
+ | ' preprocessOptions'
31
+ | ' transpileOptions'
32
+ | ' transformAssetUrls'
33
+ | ' transformAssetUrlsOptions'
34
+ >
35
+ >
36
+ style? : Partial <Pick <SFCStyleCompileOptions , ' trim' >>
27
37
}
28
38
```
29
39
Original file line number Diff line number Diff line change @@ -29,9 +29,19 @@ export interface Options {
29
29
isProduction ?: boolean
30
30
31
31
// options to pass on to vue/compiler-sfc
32
- script ?: Partial < SFCScriptCompileOptions >
33
- template ?: Partial < SFCTemplateCompileOptions >
34
- style ?: Partial < SFCStyleCompileOptions >
32
+ script ?: Partial < Pick < SFCScriptCompileOptions , 'babelParserPlugins' > >
33
+ template ?: Partial <
34
+ Pick <
35
+ SFCTemplateCompileOptions ,
36
+ | 'compiler'
37
+ | 'compilerOptions'
38
+ | 'preprocessOptions'
39
+ | 'transpileOptions'
40
+ | 'transformAssetUrls'
41
+ | 'transformAssetUrlsOptions'
42
+ >
43
+ >
44
+ style ?: Partial < Pick < SFCStyleCompileOptions , 'trim' > >
35
45
36
46
// customElement?: boolean | string | RegExp | (string | RegExp)[]
37
47
// reactivityTransform?: boolean | string | RegExp | (string | RegExp)[]
You can’t perform that action at this time.
0 commit comments