Skip to content

Commit 77b903e

Browse files
committed
fix: update isCustomElement assignment to use compilerOptions from vue3-pixi
1 parent 4015d49 commit 77b903e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nuxt/src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { addComponent, addImports, createResolver, defineNuxtModule } from '@nuxt/kit'
22
import * as core from 'vue3-pixi'
3-
import { isCustomElement } from 'vue3-pixi'
3+
import { compilerOptions } from 'vue3-pixi'
44

55
const components = [
66
'Application',
@@ -42,6 +42,6 @@ export default defineNuxtModule({
4242
}
4343

4444
nuxt.options.build.transpile.push(/vue3-pixi/)
45-
nuxt.options.vue.compilerOptions.isCustomElement = isCustomElement
45+
nuxt.options.vue.compilerOptions.isCustomElement = compilerOptions.isCustomElement
4646
},
4747
})

0 commit comments

Comments
 (0)