Skip to content

Commit

Permalink
fix: expose types with #sitemap alias
Browse files Browse the repository at this point in the history
Fixes #234
  • Loading branch information
harlan-zw committed Mar 4, 2024
1 parent c9e8ca3 commit f7b3a05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export default defineNuxtModule<ModuleOptions>({
logger.debug('The module is disabled, skipping setup.')
return
}
nuxt.options.alias['#sitemap'] = resolve('./runtime/types')
config.xslColumns = config.xslColumns || [
{ label: 'URL', width: '50%' },
{ label: 'Images', width: '25%', select: 'count(image:image)' },
Expand Down

0 comments on commit f7b3a05

Please sign in to comment.