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 3b64ccc commit fb47586Copy full SHA for fb47586
src/index.ts
@@ -45,7 +45,7 @@ export interface Options {
45
46
// customElement?: boolean | string | RegExp | (string | RegExp)[]
47
// reactivityTransform?: boolean | string | RegExp | (string | RegExp)[]
48
- // compiler?: typeof _compiler
+ compiler?: typeof _compiler
49
}
50
51
export interface ResolvedOptions extends Options {
@@ -113,7 +113,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
113
},
114
115
buildStart() {
116
- options.compiler = resolveCompiler(options.root)
+ options.compiler = options.compiler || resolveCompiler(options.root)
117
118
119
async resolveId(id) {
0 commit comments