We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f503bde commit 768298cCopy full SHA for 768298c
packages/nuxt/index.ts
@@ -130,7 +130,11 @@ export default defineNuxtModule<VueUseNuxtOptions>({
130
131
const imports = metadata
132
.functions
133
- .filter(i => i.package === pkg && !i.internal)
+ .filter(i => i.package === pkg
134
+ && !i.internal
135
+ && i.name.length >= 4
136
+ && !disabledFunctions.includes(i.name),
137
+ )
138
.flatMap((i): Import[] => {
139
const names = [i.name, ...i.alias || []]
140
return names.map(n => ({
@@ -145,7 +149,6 @@ export default defineNuxtModule<VueUseNuxtOptions>({
145
149
},
146
150
}))
147
151
})
148
- .filter(i => i.name.length >= 4 && !disabledFunctions.includes(i.name))
152
153
sources.push({
154
from: '@vueuse/core',
0 commit comments