File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,10 @@ export interface Options {
46
46
transformAssetUrls ?: SFCTemplateCompileOptions [ 'transformAssetUrls' ]
47
47
48
48
// sfc style options
49
- preprocessCustomRequire ?: SFCAsyncStyleCompileOptions [ 'preprocessCustomRequire' ]
49
+ postcssOptions ?: SFCAsyncStyleCompileOptions [ 'postcssOptions' ]
50
+ postcssPlugins ?: SFCAsyncStyleCompileOptions [ 'postcssPlugins' ]
50
51
cssModulesOptions ?: SFCAsyncStyleCompileOptions [ 'modulesOptions' ]
52
+ preprocessCustomRequire ?: SFCAsyncStyleCompileOptions [ 'preprocessCustomRequire' ]
51
53
preprocessOptions ?: SFCAsyncStyleCompileOptions [ 'preprocessOptions' ]
52
54
}
53
55
@@ -187,6 +189,8 @@ export default function PluginVue(userOptions: Partial<Options> = {}): Plugin {
187
189
source : code ,
188
190
scoped : block . scoped ,
189
191
modules : ! ! block . module ,
192
+ postcssOptions : options . postcssOptions ,
193
+ postcssPlugins : options . postcssPlugins ,
190
194
modulesOptions : options . cssModulesOptions ,
191
195
preprocessLang : options . preprocessStyles
192
196
? ( block . lang as any )
You can’t perform that action at this time.
0 commit comments