Skip to content

Commit

Permalink
fix: fix plugin path (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Feb 5, 2023
1 parent e3e4d15 commit 1f922ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default defineNuxtModule({
const runtimeDir = await resolver.resolve('./runtime')
nuxt.options.build.transpile.push(runtimeDir)

addPlugin(resolve(runtimeDir, 'nuxt-runtime-compiler.plugin.ts'))
addPlugin(resolve(runtimeDir, 'nuxt-runtime-compiler.plugin'))

nuxt.hook('prepare:types', ({ references }) => {
references.push({ path: resolve(runtimeDir, 'types.d.ts') })
Expand Down

0 comments on commit 1f922ae

Please sign in to comment.