We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4f735e commit 474be95Copy full SHA for 474be95
src/module.ts
@@ -48,8 +48,8 @@ export default defineNuxtModule<ModuleOptions>({
48
49
const transpileModules = new Set<string>([]);
50
51
- var optionalImports: { [key: string]: any }[] = [];
52
- var optionalComponents: { [key: string]: any }[] = [];
+ let optionalImports: { [key: string]: any }[] = [];
+ let optionalComponents: { [key: string]: any }[] = [];
53
54
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`
55
for (const obj of allImports.defaultComposables) {
0 commit comments