Skip to content

Commit a698346

Browse files
authored
fix: plugin-vue options.compiler field (#6588)
fix #6587
1 parent 1651aac commit a698346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-vue/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
9090

9191
let options: ResolvedOptions = {
9292
isProduction: process.env.NODE_ENV === 'production',
93+
compiler: null as any, // to be set in buildStart
9394
...rawOptions,
9495
include,
9596
exclude,
9697
customElement,
9798
reactivityTransform,
9899
root: process.cwd(),
99-
sourceMap: true,
100-
compiler: null as any // to be set in buildStart
100+
sourceMap: true
101101
}
102102

103103
// Temporal handling for 2.7 breaking change

0 commit comments

Comments
 (0)