diff --git a/README.md b/README.md index 32768e5..c05db25 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # MFE nuxt x nuxt -MFE with Nuxt being the Host and Remote +MFE with Nuxt being the Host and Remote ``` cd host pnpm i -pnpm generate +pnpm build pnpm serve ``` ``` cd remote pnpm i -pnpm generate +pnpm build pnpm serve ``` diff --git a/host/nuxt.config.ts b/host/nuxt.config.ts index 613d047..5782803 100644 --- a/host/nuxt.config.ts +++ b/host/nuxt.config.ts @@ -1,23 +1,28 @@ import { defineNuxtConfig } from "nuxt/config" import federation from "@originjs/vite-plugin-federation" +import topLevelAwait from "vite-plugin-top-level-await" export default defineNuxtConfig({ compatibilityDate: "2024-04-03", devtools: { enabled: false }, ssr: false, + nitro: { + preset: "static" + }, vite: { plugins: [ + topLevelAwait({ + promiseExportName: "__tla", + promiseImportName: (i) => `__tla_${i}` + }), federation({ name: "host-app", remotes: { remote: "http://localhost:3001/_nuxt/remoteEntry.js" } - // shared: ['vue'] + // shared: ["vue"] }) - ], - build: { - target: "esnext" - } + ] }, experimental: { asyncEntry: true diff --git a/host/package.json b/host/package.json index 58d6da1..d561e68 100644 --- a/host/package.json +++ b/host/package.json @@ -5,11 +5,12 @@ "scripts": { "build": "nuxt build", "dev": " nuxt dev", + "prebuild": "npm run clean", "pregenerate": "npm run clean", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare", - "clean": "rimraf .output", + "clean": "rimraf .output dist", "clean2": "rimraf --glob node_modules", "serve": "serve .output/public -p 3000" }, @@ -19,7 +20,8 @@ }, "devDependencies": { "@originjs/vite-plugin-federation": "^1.3.5", + "serve": "~14.2.4", "rimraf": "6", - "serve": "*" + "vite-plugin-top-level-await": "~1.4.4" } } diff --git a/host/pnpm-lock.yaml b/host/pnpm-lock.yaml index bf0aef4..bfaf14f 100644 --- a/host/pnpm-lock.yaml +++ b/host/pnpm-lock.yaml @@ -22,8 +22,11 @@ importers: specifier: '6' version: 6.0.1 serve: - specifier: '*' + specifier: ~14.2.4 version: 14.2.4 + vite-plugin-top-level-await: + specifier: ~1.4.4 + version: 1.4.4(rollup@4.28.1)(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)) packages: @@ -742,6 +745,15 @@ packages: rollup: optional: true + '@rollup/plugin-virtual@3.0.2': + resolution: {integrity: sha512-10monEYsBp3scM4/ND4LNH5Rxvh3e/cVeL3jWTgZ2SrQ+BmUoQcopVQvnaMcOnykb1VkxUFuDAN+0FnpTFRy2A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} @@ -850,6 +862,81 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} + '@swc/core-darwin-arm64@1.10.1': + resolution: {integrity: sha512-NyELPp8EsVZtxH/mEqvzSyWpfPJ1lugpTQcSlMduZLj1EASLO4sC8wt8hmL1aizRlsbjCX+r0PyL+l0xQ64/6Q==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + + '@swc/core-darwin-x64@1.10.1': + resolution: {integrity: sha512-L4BNt1fdQ5ZZhAk5qoDfUnXRabDOXKnXBxMDJ+PWLSxOGBbWE6aJTnu4zbGjJvtot0KM46m2LPAPY8ttknqaZA==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + + '@swc/core-linux-arm-gnueabihf@1.10.1': + resolution: {integrity: sha512-Y1u9OqCHgvVp2tYQAJ7hcU9qO5brDMIrA5R31rwWQIAKDkJKtv3IlTHF0hrbWk1wPR0ZdngkQSJZple7G+Grvw==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + + '@swc/core-linux-arm64-gnu@1.10.1': + resolution: {integrity: sha512-tNQHO/UKdtnqjc7o04iRXng1wTUXPgVd8Y6LI4qIbHVoVPwksZydISjMcilKNLKIwOoUQAkxyJ16SlOAeADzhQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-arm64-musl@1.10.1': + resolution: {integrity: sha512-x0L2Pd9weQ6n8dI1z1Isq00VHFvpBClwQJvrt3NHzmR+1wCT/gcYl1tp9P5xHh3ldM8Cn4UjWCw+7PaUgg8FcQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-x64-gnu@1.10.1': + resolution: {integrity: sha512-yyYEwQcObV3AUsC79rSzN9z6kiWxKAVJ6Ntwq2N9YoZqSPYph+4/Am5fM1xEQYf/kb99csj0FgOelomJSobxQA==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-linux-x64-musl@1.10.1': + resolution: {integrity: sha512-tcaS43Ydd7Fk7sW5ROpaf2Kq1zR+sI5K0RM+0qYLYYurvsJruj3GhBCaiN3gkzd8m/8wkqNqtVklWaQYSDsyqA==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-win32-arm64-msvc@1.10.1': + resolution: {integrity: sha512-D3Qo1voA7AkbOzQ2UGuKNHfYGKL6eejN8VWOoQYtGHHQi1p5KK/Q7V1ku55oxXBsj79Ny5FRMqiRJpVGad7bjQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + + '@swc/core-win32-ia32-msvc@1.10.1': + resolution: {integrity: sha512-WalYdFoU3454Og+sDKHM1MrjvxUGwA2oralknXkXL8S0I/8RkWZOB++p3pLaGbTvOO++T+6znFbQdR8KRaa7DA==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + + '@swc/core-win32-x64-msvc@1.10.1': + resolution: {integrity: sha512-JWobfQDbTnoqaIwPKQ3DVSywihVXlQMbDuwik/dDWlj33A8oEHcjPOGs4OqcA3RHv24i+lfCQpM3Mn4FAMfacA==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + + '@swc/core@1.10.1': + resolution: {integrity: sha512-rQ4dS6GAdmtzKiCRt3LFVxl37FaY1cgL9kSUTnhQ2xc3fmHOd7jdJK/V4pSZMG1ruGTd0bsi34O2R0Olg9Zo/w==} + engines: {node: '>=10'} + peerDependencies: + '@swc/helpers': '*' + peerDependenciesMeta: + '@swc/helpers': + optional: true + + '@swc/counter@0.1.3': + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + + '@swc/types@0.1.17': + resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} + '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -3051,6 +3138,10 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + uuid@10.0.0: + resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} + hasBin: true + vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -3109,6 +3200,11 @@ packages: '@nuxt/kit': optional: true + vite-plugin-top-level-await@1.4.4: + resolution: {integrity: sha512-QyxQbvcMkgt+kDb12m2P8Ed35Sp6nXP+l8ptGrnHV9zgYDUpraO0CPdlqLSeBqvY2DToR52nutDG7mIHuysdiw==} + peerDependencies: + vite: '>=2.8' + vite-plugin-vue-inspector@5.1.3: resolution: {integrity: sha512-pMrseXIDP1Gb38mOevY+BvtNGNqiqmqa2pKB99lnLsADQww9w9xMbAfT4GB6RUoaOkSPrtlXqpq2Fq+Dj2AgFg==} peerDependencies: @@ -4055,6 +4151,10 @@ snapshots: optionalDependencies: rollup: 4.28.1 + '@rollup/plugin-virtual@3.0.2(rollup@4.28.1)': + optionalDependencies: + rollup: 4.28.1 + '@rollup/pluginutils@5.1.4(rollup@4.28.1)': dependencies: '@types/estree': 1.0.6 @@ -4122,6 +4222,58 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} + '@swc/core-darwin-arm64@1.10.1': + optional: true + + '@swc/core-darwin-x64@1.10.1': + optional: true + + '@swc/core-linux-arm-gnueabihf@1.10.1': + optional: true + + '@swc/core-linux-arm64-gnu@1.10.1': + optional: true + + '@swc/core-linux-arm64-musl@1.10.1': + optional: true + + '@swc/core-linux-x64-gnu@1.10.1': + optional: true + + '@swc/core-linux-x64-musl@1.10.1': + optional: true + + '@swc/core-win32-arm64-msvc@1.10.1': + optional: true + + '@swc/core-win32-ia32-msvc@1.10.1': + optional: true + + '@swc/core-win32-x64-msvc@1.10.1': + optional: true + + '@swc/core@1.10.1': + dependencies: + '@swc/counter': 0.1.3 + '@swc/types': 0.1.17 + optionalDependencies: + '@swc/core-darwin-arm64': 1.10.1 + '@swc/core-darwin-x64': 1.10.1 + '@swc/core-linux-arm-gnueabihf': 1.10.1 + '@swc/core-linux-arm64-gnu': 1.10.1 + '@swc/core-linux-arm64-musl': 1.10.1 + '@swc/core-linux-x64-gnu': 1.10.1 + '@swc/core-linux-x64-musl': 1.10.1 + '@swc/core-win32-arm64-msvc': 1.10.1 + '@swc/core-win32-ia32-msvc': 1.10.1 + '@swc/core-win32-x64-msvc': 1.10.1 + + '@swc/counter@0.1.3': {} + + '@swc/types@0.1.17': + dependencies: + '@swc/counter': 0.1.3 + '@trysound/sax@0.2.0': {} '@types/estree@1.0.6': {} @@ -6596,6 +6748,8 @@ snapshots: util-deprecate@1.0.2: {} + uuid@10.0.0: {} + vary@1.1.2: {} vite-hot-client@0.2.4(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)): @@ -6658,6 +6812,16 @@ snapshots: - rollup - supports-color + vite-plugin-top-level-await@1.4.4(rollup@4.28.1)(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)): + dependencies: + '@rollup/plugin-virtual': 3.0.2(rollup@4.28.1) + '@swc/core': 1.10.1 + uuid: 10.0.0 + vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0) + transitivePeerDependencies: + - '@swc/helpers' + - rollup + vite-plugin-vue-inspector@5.1.3(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)): dependencies: '@babel/core': 7.26.0 diff --git a/remote/nuxt.config.ts b/remote/nuxt.config.ts index 5f8fd0d..e1fff31 100644 --- a/remote/nuxt.config.ts +++ b/remote/nuxt.config.ts @@ -1,12 +1,20 @@ import { defineNuxtConfig } from "nuxt/config" import federation from "@originjs/vite-plugin-federation" +import topLevelAwait from "vite-plugin-top-level-await" export default defineNuxtConfig({ compatibilityDate: "2024-04-03", devtools: { enabled: false }, ssr: false, + nitro: { + preset: "static" + }, vite: { plugins: [ + topLevelAwait({ + promiseExportName: "__tla", + promiseImportName: (i) => `__tla_${i}` + }), federation({ name: "remote-app", filename: "remoteEntry.js", @@ -16,10 +24,10 @@ export default defineNuxtConfig({ shared: [] // shared: ['vue'] }) - ], - build: { - target: "esnext" - } + ] + // build: { + // target: "esnext" + // } }, experimental: { asyncEntry: true diff --git a/remote/package.json b/remote/package.json index 7c71990..ea84d61 100644 --- a/remote/package.json +++ b/remote/package.json @@ -5,11 +5,13 @@ "scripts": { "build": "nuxt build", "dev": "HOST=0.0.0.0 PORT=3001 nuxt dev", + "prebuild": "npm run clean", "pregenerate": "npm run clean", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare", - "clean": "rimraf .output", + "clean": "rimraf .output dist", + "clean2": "rimraf --glob node_modules", "serve": "serve .output/public -p 3001 --cors" }, "dependencies": { @@ -17,8 +19,9 @@ "vue": "^3.5.13" }, "devDependencies": { - "serve": "*", + "@originjs/vite-plugin-federation": "^1.3.5", + "serve": "~14.2.4", "rimraf": "6", - "@originjs/vite-plugin-federation": "^1.3.5" + "vite-plugin-top-level-await": "~1.4.4" } } diff --git a/remote/pnpm-lock.yaml b/remote/pnpm-lock.yaml index bf0aef4..bfaf14f 100644 --- a/remote/pnpm-lock.yaml +++ b/remote/pnpm-lock.yaml @@ -22,8 +22,11 @@ importers: specifier: '6' version: 6.0.1 serve: - specifier: '*' + specifier: ~14.2.4 version: 14.2.4 + vite-plugin-top-level-await: + specifier: ~1.4.4 + version: 1.4.4(rollup@4.28.1)(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)) packages: @@ -742,6 +745,15 @@ packages: rollup: optional: true + '@rollup/plugin-virtual@3.0.2': + resolution: {integrity: sha512-10monEYsBp3scM4/ND4LNH5Rxvh3e/cVeL3jWTgZ2SrQ+BmUoQcopVQvnaMcOnykb1VkxUFuDAN+0FnpTFRy2A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} @@ -850,6 +862,81 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} + '@swc/core-darwin-arm64@1.10.1': + resolution: {integrity: sha512-NyELPp8EsVZtxH/mEqvzSyWpfPJ1lugpTQcSlMduZLj1EASLO4sC8wt8hmL1aizRlsbjCX+r0PyL+l0xQ64/6Q==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + + '@swc/core-darwin-x64@1.10.1': + resolution: {integrity: sha512-L4BNt1fdQ5ZZhAk5qoDfUnXRabDOXKnXBxMDJ+PWLSxOGBbWE6aJTnu4zbGjJvtot0KM46m2LPAPY8ttknqaZA==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + + '@swc/core-linux-arm-gnueabihf@1.10.1': + resolution: {integrity: sha512-Y1u9OqCHgvVp2tYQAJ7hcU9qO5brDMIrA5R31rwWQIAKDkJKtv3IlTHF0hrbWk1wPR0ZdngkQSJZple7G+Grvw==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + + '@swc/core-linux-arm64-gnu@1.10.1': + resolution: {integrity: sha512-tNQHO/UKdtnqjc7o04iRXng1wTUXPgVd8Y6LI4qIbHVoVPwksZydISjMcilKNLKIwOoUQAkxyJ16SlOAeADzhQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-arm64-musl@1.10.1': + resolution: {integrity: sha512-x0L2Pd9weQ6n8dI1z1Isq00VHFvpBClwQJvrt3NHzmR+1wCT/gcYl1tp9P5xHh3ldM8Cn4UjWCw+7PaUgg8FcQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-x64-gnu@1.10.1': + resolution: {integrity: sha512-yyYEwQcObV3AUsC79rSzN9z6kiWxKAVJ6Ntwq2N9YoZqSPYph+4/Am5fM1xEQYf/kb99csj0FgOelomJSobxQA==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-linux-x64-musl@1.10.1': + resolution: {integrity: sha512-tcaS43Ydd7Fk7sW5ROpaf2Kq1zR+sI5K0RM+0qYLYYurvsJruj3GhBCaiN3gkzd8m/8wkqNqtVklWaQYSDsyqA==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-win32-arm64-msvc@1.10.1': + resolution: {integrity: sha512-D3Qo1voA7AkbOzQ2UGuKNHfYGKL6eejN8VWOoQYtGHHQi1p5KK/Q7V1ku55oxXBsj79Ny5FRMqiRJpVGad7bjQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + + '@swc/core-win32-ia32-msvc@1.10.1': + resolution: {integrity: sha512-WalYdFoU3454Og+sDKHM1MrjvxUGwA2oralknXkXL8S0I/8RkWZOB++p3pLaGbTvOO++T+6znFbQdR8KRaa7DA==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + + '@swc/core-win32-x64-msvc@1.10.1': + resolution: {integrity: sha512-JWobfQDbTnoqaIwPKQ3DVSywihVXlQMbDuwik/dDWlj33A8oEHcjPOGs4OqcA3RHv24i+lfCQpM3Mn4FAMfacA==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + + '@swc/core@1.10.1': + resolution: {integrity: sha512-rQ4dS6GAdmtzKiCRt3LFVxl37FaY1cgL9kSUTnhQ2xc3fmHOd7jdJK/V4pSZMG1ruGTd0bsi34O2R0Olg9Zo/w==} + engines: {node: '>=10'} + peerDependencies: + '@swc/helpers': '*' + peerDependenciesMeta: + '@swc/helpers': + optional: true + + '@swc/counter@0.1.3': + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + + '@swc/types@0.1.17': + resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} + '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -3051,6 +3138,10 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + uuid@10.0.0: + resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} + hasBin: true + vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -3109,6 +3200,11 @@ packages: '@nuxt/kit': optional: true + vite-plugin-top-level-await@1.4.4: + resolution: {integrity: sha512-QyxQbvcMkgt+kDb12m2P8Ed35Sp6nXP+l8ptGrnHV9zgYDUpraO0CPdlqLSeBqvY2DToR52nutDG7mIHuysdiw==} + peerDependencies: + vite: '>=2.8' + vite-plugin-vue-inspector@5.1.3: resolution: {integrity: sha512-pMrseXIDP1Gb38mOevY+BvtNGNqiqmqa2pKB99lnLsADQww9w9xMbAfT4GB6RUoaOkSPrtlXqpq2Fq+Dj2AgFg==} peerDependencies: @@ -4055,6 +4151,10 @@ snapshots: optionalDependencies: rollup: 4.28.1 + '@rollup/plugin-virtual@3.0.2(rollup@4.28.1)': + optionalDependencies: + rollup: 4.28.1 + '@rollup/pluginutils@5.1.4(rollup@4.28.1)': dependencies: '@types/estree': 1.0.6 @@ -4122,6 +4222,58 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} + '@swc/core-darwin-arm64@1.10.1': + optional: true + + '@swc/core-darwin-x64@1.10.1': + optional: true + + '@swc/core-linux-arm-gnueabihf@1.10.1': + optional: true + + '@swc/core-linux-arm64-gnu@1.10.1': + optional: true + + '@swc/core-linux-arm64-musl@1.10.1': + optional: true + + '@swc/core-linux-x64-gnu@1.10.1': + optional: true + + '@swc/core-linux-x64-musl@1.10.1': + optional: true + + '@swc/core-win32-arm64-msvc@1.10.1': + optional: true + + '@swc/core-win32-ia32-msvc@1.10.1': + optional: true + + '@swc/core-win32-x64-msvc@1.10.1': + optional: true + + '@swc/core@1.10.1': + dependencies: + '@swc/counter': 0.1.3 + '@swc/types': 0.1.17 + optionalDependencies: + '@swc/core-darwin-arm64': 1.10.1 + '@swc/core-darwin-x64': 1.10.1 + '@swc/core-linux-arm-gnueabihf': 1.10.1 + '@swc/core-linux-arm64-gnu': 1.10.1 + '@swc/core-linux-arm64-musl': 1.10.1 + '@swc/core-linux-x64-gnu': 1.10.1 + '@swc/core-linux-x64-musl': 1.10.1 + '@swc/core-win32-arm64-msvc': 1.10.1 + '@swc/core-win32-ia32-msvc': 1.10.1 + '@swc/core-win32-x64-msvc': 1.10.1 + + '@swc/counter@0.1.3': {} + + '@swc/types@0.1.17': + dependencies: + '@swc/counter': 0.1.3 + '@trysound/sax@0.2.0': {} '@types/estree@1.0.6': {} @@ -6596,6 +6748,8 @@ snapshots: util-deprecate@1.0.2: {} + uuid@10.0.0: {} + vary@1.1.2: {} vite-hot-client@0.2.4(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)): @@ -6658,6 +6812,16 @@ snapshots: - rollup - supports-color + vite-plugin-top-level-await@1.4.4(rollup@4.28.1)(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)): + dependencies: + '@rollup/plugin-virtual': 3.0.2(rollup@4.28.1) + '@swc/core': 1.10.1 + uuid: 10.0.0 + vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0) + transitivePeerDependencies: + - '@swc/helpers' + - rollup + vite-plugin-vue-inspector@5.1.3(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)): dependencies: '@babel/core': 7.26.0