Skip to content

Commit

Permalink
fix: plugin-vue options.compiler field (#6588)
Browse files Browse the repository at this point in the history
fix #6587
  • Loading branch information
surmon-china committed Jan 26, 2022
1 parent 1651aac commit a698346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-vue/src/index.ts
Expand Up @@ -90,14 +90,14 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {

let options: ResolvedOptions = {
isProduction: process.env.NODE_ENV === 'production',
compiler: null as any, // to be set in buildStart
...rawOptions,
include,
exclude,
customElement,
reactivityTransform,
root: process.cwd(),
sourceMap: true,
compiler: null as any // to be set in buildStart
sourceMap: true
}

// Temporal handling for 2.7 breaking change
Expand Down

0 comments on commit a698346

Please sign in to comment.