Skip to content

Commit

Permalink
feat: Auto-import from subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Jul 20, 2023
1 parent 54b18cc commit 547fee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils/auto-imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function getUnimportOptions(
],
presets: [{ package: 'wxt/client' }],
warn: config.logger.warn,
dirs: ['components', 'composables', 'hooks', 'utils'],
dirs: ['./components/*', './composables/*', './hooks/*', './utils/*'],
};

return mergeConfig(
Expand Down

0 comments on commit 547fee0

Please sign in to comment.