We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b6903 commit df5b119Copy full SHA for df5b119
1 file changed
src/context.ts
@@ -253,6 +253,11 @@ export class NuxtIconModuleContext {
253
}))
254
}
255
256
+ for (const collection of collections.values()) {
257
+ const sortedEntries = Object.entries(collection.icons).sort(([nameA], [nameB]) => nameA.localeCompare(nameB))
258
+ collection.icons = Object.fromEntries(sortedEntries)
259
+ }
260
+
261
return {
262
collections: [...collections.values()],
263
count,
0 commit comments