Skip to content

Commit

Permalink
fix: type path imports from #nuxt-api-party
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Aug 31, 2023
1 parent 841c78f commit 9bd2144
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 @@ -192,7 +192,7 @@ export const ${getRawComposableName(i)} = (...args) => _$api('${i}', ...args)
})

// Add `#nuxt-api-party` module alias for generated composables
nuxt.options.alias[`#${moduleName}`] = resolve(nuxt.options.buildDir, `module/${moduleName}.mjs`)
nuxt.options.alias[`#${moduleName}`] = resolve(nuxt.options.buildDir, `module/${moduleName}`)

// Add module template for generated composables
addTemplate({
Expand Down

0 comments on commit 9bd2144

Please sign in to comment.