Open Erdu-EC opened 1 month ago
Hi,
We have an import like this in almost all of our packages, and many libraries seem to have problems with this issue in Nuxt. For now, we can expect a response from nuxt team.
https://github.com/nuxt/icon/issues/140 https://github.com/nuxt/ui/issues/1286
Suggest change packages/utils/package.json from:
"exports": { ".": { "types": "./index.d.mts", "import": "./index.mjs" }, "./*": { "types": "./*/index.d.mts", "import": "./*/index.mjs" } }
to:
"exports": { ".": { "types": "./index.d.mts", "import": "./index.mjs" }, "./dom": { "types": "./dom/index.d.mts", "import": "./dom/index.mjs" }, "./object": { "types": "./object/index.d.mts", "import": "./object/index.mjs" }, "./uuid": { "types": "./uuid/index.d.mts", "import": "./uuid/index.mjs" }, "./eventbus": { "types": "./eventbus/index.d.mts", "import": "./eventbus/index.mjs" }, "./zindex": { "types": "./zindex/index.d.mts", "import": "./zindex/index.mjs" } },