We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378aea3 commit 851d8a1Copy full SHA for 851d8a1
packages/plugin-vue/src/index.ts
@@ -265,8 +265,10 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin<Api> {
265
},
266
267
configResolved(config) {
268
+ const { compiler, ...rest } = options.value
269
options.value = {
- ...options.value,
270
+ compiler: compiler ?? resolveCompiler(options.value.root),
271
+ ...rest,
272
root: config.root,
273
sourceMap: config.command === 'build' ? !!config.build.sourcemap : true,
274
cssDevSourcemap: config.css?.devSourcemap ?? false,
0 commit comments