Skip to content

Commit

Permalink
fix: transpile module runtime code
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Dec 20, 2023
1 parent 72d7ca9 commit 2c7e56c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ export default defineNuxtModule<ModuleOptions>({

const { resolve } = createResolver(import.meta.url)

nuxt.options.build.transpile.push(resolve('./runtime'))

const preset = resolveNitroPreset(nuxt.options.nitro)
const targetCompatibility = getPresetNitroPresetCompatibility(preset)

Expand Down

0 comments on commit 2c7e56c

Please sign in to comment.