\n \u003CNuxtWelcome />\n \u003C/div>\n\u003C/template>\n\n\u003Cscript lang=\"js\">\nimport * as demo from './demo.mjs'\n\nconsole.log(demo['name.with.dots'])\n\u003C/script>\n\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n> build\n> nuxt build\n\nNuxt 3.16.0 with Nitro 2.11.5 nuxi 18:04:46\nℹ Building for Nitro preset: node-server nuxi 18:04:46\nℹ Building client... 18:04:47\nℹ vite v6.2.1 building for production... 18:04:47\nℹ ✓ 128 modules transformed. 18:04:48\nℹ .nuxt/dist/client/manifest.json 1.06 kB │ gzip: 0.29 kB 18:04:48\nℹ .nuxt/dist/client/_nuxt/error-500.dGVH929u.css 1.88 kB │ gzip: 0.72 kB 18:04:48\nℹ .nuxt/dist/client/_nuxt/error-404.C3V-3Mc4.css 3.56 kB │ gzip: 1.10 kB 18:04:48\nℹ .nuxt/dist/client/_nuxt/entry.ofCu9KLV.css 12.41 kB │ gzip: 2.57 kB 18:04:48\nℹ .nuxt/dist/client/_nuxt/z7DXRpCd.js 3.39 kB │ gzip: 1.53 kB 18:04:48\nℹ .nuxt/dist/client/_nuxt/DUuvXmrT.js 9.42 kB │ gzip: 3.76 kB 18:04:48\nℹ .nuxt/dist/client/_nuxt/y94aZ4V3.js 220.05 kB │ gzip: 63.21 kB 18:04:48\nℹ ✓ built in 906ms 18:04:48\n✔ Client built in 921ms 18:04:48\nℹ Building server... 18:04:48\nℹ vite v6.2.1 building SSR bundle for production... 18:04:48\nℹ ✓ 53 modules transformed. 18:04:48\n\n ERROR ✗ Build failed in 350ms 18:04:48\n\n\n ERROR Nuxt Build Error: [vite:esbuild-transpile] Transform failed with 1 error: nuxi 18:04:48\ndemo.mjs:3:14: ERROR: Using the string \"name.with.dots\" as an export name is not supported in the configured target environment (\"chrome87\", \"edge88\", \"es2020\", \"firefox78\", \"safari14\" + 2 overrides)\nfile: demo.mjs:3:14\n\nUsing the string \"name.with.dots\" as an export name is not supported in the configured target environment (\"chrome87\", \"edge88\", \"es2020\", \"firefox78\", \"safari14\" + 2 overrides)\n1 | const a = 10;\n2 |\n3 | export { a as \"name.with.dots\" };\n | ^\n\n\n demo.mjs:3:14: ERROR: Using the string \"name.with.dots\" as an export name is not supported in the configured target environment (\"chrome87\", \"edge88\", \"es2020\", \"firefox78\", \"safari14\" + 2 overrides)\n file: demo.mjs:3:14\n\n Using the string \"name.with.dots\" as an export name is not supported in the configured target environment (\"chrome87\", \"edge88\", \"es2020\", \"firefox78\", \"safari14\" + 2 overrides)\n 1 | const a = 10;\n 2 |\n 3 | export { a as \"name.with.dots\" };\n | ^\n\n at failureErrorWithLog (node_modules\\esbuild\\lib\\main.js:1477:15)\n at node_modules\\esbuild\\lib\\main.js:756:50\n at responseCallbacks.\u003Ccomputed> (node_modules\\esbuild\\lib\\main.js:623:9)\n at handleIncomingPacket (node_modules\\esbuild\\lib\\main.js:678:12)\n at Socket.readFromStdout (node_modules\\esbuild\\lib\\main.js:601:7)\n at Socket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)\n\n```",[2920,2921],{"name":2866,"color":2867},{"name":2891,"color":2892},31266,"Building code dependent on named imports fails in 3.16.0","2025-04-18T11:02:36Z","https://github.com/nuxt/nuxt/issues/31266",0.64870685,{"labels":2928,"number":2932,"owner":2878,"repository":2878,"state":2896,"title":2933,"updated_at":2934,"url":2935,"score":2936},[2929,2930,2931],{"name":2888,"color":2889},{"name":2891,"color":2892},{"name":2894,"color":2876},13573,"[Hard to reproduce] Issue with auto-import of composables in some components","2023-01-19T16:59:51Z","https://github.com/nuxt/nuxt/issues/13573",0.65894014,{"description":2938,"labels":2939,"number":2942,"owner":2878,"repository":2878,"state":2896,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### Environment\r\n\r\nNuxt module using `@nuxt/kit` rc 9\r\n\r\n### Reproduction\r\n\r\nBlank project using my nuxt-xstate module which after updating relies on `imports:sources`\r\n\r\nOnline module playground: https://stackblitz.com/edit/nuxt-xstate-playground\r\nSource code: https://github.com/Lexpeartha/nuxt-xstate\r\n\r\nUPDATE: after bumping nuxt to rc 9 on stackblitz, it seems to work, however fresh project still doesn't work as it's supposed to\r\n\r\n### Describe the bug\r\n\r\nTypes for auto-imports aren't generated, and when starting dev server errors are thrown:\r\n```\r\nERROR Failed to resolve import \"ufo\" from \"virtual:nuxt:/home/aleksa/Desktop/Projects/xstate-test/.nuxt/paths.mjs\". Does the file exist?\r\n\r\n ERROR Failed to resolve import \"defu\" from \".nuxt/app.config.mjs\". Does the file exist? \r\n ```\r\n \r\n One very weird thing is that module works without any issues in my module playground, but behaves like this in any other environment\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n```shell\r\n[nuxt] [request error] [unhandled] [500] [vite-node] Failed to load ufo\r\n at ViteNodeRunner.directRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:165:13) \r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:113:12) \r\n at async request (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:136:16) \r\n at async virtual:nuxt:./.nuxt/paths.mjs:1:238 \r\n at async ViteNodeRunner.directRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:217:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:113:12) \r\n at async request (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:136:16) \r\n at async ./node_modules/.pnpm/nuxt@3.0.0-rc.9/node_modules/nuxt/dist/app/entry.mjs:5:31 \r\n at async ViteNodeRunner.directRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:217:5)\r\n[nuxt] [request error] [unhandled] [500] [vite-node] Failed to load ufo\r\n at ViteNodeRunner.directRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:165:13) \r\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:113:12) \r\n at async request (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:136:16) \r\n at async virtual:nuxt:./.nuxt/paths.mjs:1:238 \r\n at async ViteNodeRunner.directRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:217:5) \r\n at async ViteNodeRunner.cachedRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:113:12) \r\n at async request (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:136:16) \r\n at async ./node_modules/.pnpm/nuxt@3.0.0-rc.9/node_modules/nuxt/dist/app/entry.mjs:5:31 \r\n at async ViteNodeRunner.directRequest (./node_modules/.pnpm/vite-node@0.22.1/node_modules/vite-node/dist/client.mjs:217:5)\r\n```\r\n```\r\n",[2940,2941],{"name":2888,"color":2889},{"name":2891,"color":2892},14814,"bug(kit): added auto-imports don't work","2023-01-19T17:40:40Z","https://github.com/nuxt/nuxt/issues/14814",0.6613711,{"description":2948,"labels":2949,"number":2953,"owner":2878,"repository":2878,"state":2896,"title":2954,"updated_at":2955,"url":2956,"score":2957},"### Environment\r\n\r\n```\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.9.0\r\n- Nuxt Version: 3.8.1\r\n- CLI Version: 3.9.1\r\n- Nitro Version: 2.7.2\r\n- Package Manager: pnpm@8.10.5\r\n- Builder: -\r\n- User Config: devtools, experimental, app, modules, vite, css, eslint, mongoose, nitro, image, dayjs, tailwindcss\r\n- Runtime Modules: @pinia/nuxt@0.5.1, @nuxtjs/eslint-module@4.1.0, @vueuse/nuxt@10.6.1, @nuxt/image@1.0.0, @nuxtjs/device@3.1.1, @nuxtjs/color-mode@3.3.2, @nuxt/content@2.9.0, nuxt-icon@0.6.6, @element-plus/nuxt@1.0.7, @nuxtjs/tailwindcss@6.9.5, nuxt-mongoose@1.0.3, dayjs-nuxt@2.1.9\r\n- Build Modules: -\r\n------------------------------\r\n```\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/maicss/nuxt-auto-import-style-control\r\n\r\n### Describe the bug\r\n\r\nhttps://github.com/element-plus/element-plus-nuxt/issues/77\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2950,2951,2952],{"name":2888,"color":2889},{"name":2891,"color":2892},{"name":2894,"color":2876},24508,"Auto import caused style inject order not expected","2024-01-10T12:53:20Z","https://github.com/nuxt/nuxt/issues/24508",0.6614043,{"description":2959,"labels":2960,"number":2963,"owner":2878,"repository":2878,"state":2896,"title":2964,"updated_at":2965,"url":2966,"score":2967},"### Environment\r\n\r\nENV\r\nos: Darwin\r\nnodejs: 20.9.0\r\nnuxt: 3.8.1\r\n@nuxt/test-utils: 3.8.1\r\nvitest: 1.1.1\r\nyarn: 1.15.2\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/nuxt-starter-rx4vx2?file=package.json,testUtils.js,testUtils.test.js\r\n\r\nyou can run test command below.\r\n```\r\nnpm test\r\n``` \r\n\r\n### Describe the bug\r\n\r\nHello, I am using Vitest for testing on Nuxt3, vite env.\r\nDue to our team's convention, the configuration uses 'autoImport: false'.(For an explicit declaration) So when importing Nuxt's built-in items (useRoute, nextTick, computed, etc.) we use import '#imports'.\r\n\r\nWhen I run Vitest, the following error occurs:\r\n\r\nError: Failed to resolve import \"#imports\" from \"[file path]\". Does the file exist?\r\nHow do I solve this? help.\r\nIs this something that needs to be fixed in vitest?\r\n(I registered an issue on vitest. https://github.com/vitest-dev/vitest/issues/4853)\r\n(https://github.com/nuxt/nuxt/discussions/24719)\r\n\r\nBelow is my vitest.config.js\r\n```javascript\r\nimport path from 'path';\r\nimport vue from '@vitejs/plugin-vue';\r\n\r\nexport default {\r\n plugins: [vue()],\r\n test: {\r\n globals: true,\r\n environment: 'jsdom'\r\n },\r\n resolve: {\r\n alias: {\r\n '@': path.resolve(__dirname, './src')\r\n }\r\n }\r\n};\r\n``` \r\n\r\nThanks.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[2961,2962],{"name":2888,"color":2889},{"name":2891,"color":2892},25021,"Vitest can't resolve import '#imports'(Nuxt3, vitest)","2024-06-21T04:50:44Z","https://github.com/nuxt/nuxt/issues/25021",0.6620562,{"labels":2969,"number":2972,"owner":2878,"repository":2878,"state":2896,"title":2973,"updated_at":2974,"url":2975,"score":2976},[2970,2971],{"name":2888,"color":2889},{"name":2891,"color":2892},21803,"Dynamic Imports Are not working inside script tags.","2024-07-08T20:33:35Z","https://github.com/nuxt/nuxt/issues/21803",0.66242224,{"description":2978,"labels":2979,"number":2981,"owner":2878,"repository":2878,"state":2896,"title":2982,"updated_at":2983,"url":2984,"score":2985},"### Environment\r\n\r\n- Operating System: Darwin\r\n- Node Version: v22.5.1\r\n- Nuxt Version: 3.13.0\r\n- CLI Version: 3.13.1\r\n- Nitro Version: 2.9.7\r\n- Package Manager: npm@10.8.2\r\n- Builder: -\r\n- User Config: compatibilityDate, devtools, modules\r\n- Runtime Modules: @vueuse/motion/nuxt@2.2.3\r\n- Build Modules: -\r\n\r\n### Reproduction\r\n\r\n- create an empty `nuxt` project\r\n- install `@vueuse/motion`\r\n- add `@vueuse/motion/nuxt` to `modules` inside `nuxt.config.ts`\r\n- add some variable inside `utils` folder\r\n- use the variable inside `app.vue`\r\n\r\n### Describe the bug\r\n\r\nI'm using `@vueuse/motion` and after some updates (idk which exactly) I've got an error about imports. Also I receiving the same bug in different cases but I guess all of them related to this one.\r\n\r\n### Additional context\r\n\r\n\r\nhttps://github.com/user-attachments/assets/023f1900-c4b3-47b0-b91e-49715f306529\r\n\r\n\r\n\r\n### Logs\r\n\r\n_No response_",[2980],{"name":2891,"color":2892},28748,"Auto-imports not working after installing @vueuse/motion/nuxt","2024-08-29T10:04:35Z","https://github.com/nuxt/nuxt/issues/28748",0.6632819,["Reactive",2987],{},["Set"],["ShallowReactive",2990],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fgg2VxecsZCUOFwU8ApVHoEBTXpa7-IPPCb5DgWpgNYc":-1},"/nuxt/nuxt/28190"]