This configuration seems to be wrong, we need collections as direct icon child (testing tresjs apps/lab when migrating to tsdown) all json collections in the nuxt server.mjs):
export default defineNuxtConfig({
modules: ['@nuxt/icon'],
icon: {
collections: ['uil', 'mdi'] // <== SHOULD BE HERE?
serverBundle: {
collections: ['uil', 'mdi'] // <== IS THIS FINE?
}
}
})
including collections inside serverBundle

including collections as direct child
