mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
chore(deps): update devdependency nitropack to v2.10.3 (3.x) (#29805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
e33644cf30
commit
bbb52e3d3c
@ -92,7 +92,7 @@
|
||||
"happy-dom": "15.9.0",
|
||||
"jiti": "2.4.0",
|
||||
"markdownlint-cli": "0.42.0",
|
||||
"nitropack": "2.10.2",
|
||||
"nitropack": "2.10.3",
|
||||
"nuxi": "3.15.0",
|
||||
"nuxt": "workspace:*",
|
||||
"nuxt-content-twoslash": "0.1.1",
|
||||
|
@ -53,7 +53,7 @@
|
||||
"@types/lodash-es": "4.17.12",
|
||||
"@types/semver": "7.5.8",
|
||||
"lodash-es": "4.17.21",
|
||||
"nitropack": "2.10.2",
|
||||
"nitropack": "2.10.3",
|
||||
"unbuild": "latest",
|
||||
"vite": "5.4.10",
|
||||
"vitest": "2.1.4",
|
||||
|
@ -94,7 +94,7 @@
|
||||
"magic-string": "^0.30.12",
|
||||
"mlly": "^1.7.2",
|
||||
"nanotar": "^0.1.1",
|
||||
"nitropack": "^2.10.2",
|
||||
"nitropack": "^2.10.3",
|
||||
"nuxi": "^3.15.0",
|
||||
"nypm": "^0.3.12",
|
||||
"ofetch": "^1.4.1",
|
||||
|
@ -48,7 +48,7 @@
|
||||
"esbuild-loader": "4.2.2",
|
||||
"h3": "1.13.0",
|
||||
"ignore": "6.0.2",
|
||||
"nitropack": "2.10.2",
|
||||
"nitropack": "2.10.3",
|
||||
"ofetch": "1.4.1",
|
||||
"unbuild": "latest",
|
||||
"unctx": "2.3.1",
|
||||
|
@ -50,7 +50,7 @@ importers:
|
||||
version: link:packages/rspack
|
||||
'@nuxt/test-utils':
|
||||
specifier: 3.14.4
|
||||
version: 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
version: 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
'@nuxt/webpack-builder':
|
||||
specifier: workspace:*
|
||||
version: link:packages/webpack
|
||||
@ -127,8 +127,8 @@ importers:
|
||||
specifier: 0.42.0
|
||||
version: 0.42.0
|
||||
nitropack:
|
||||
specifier: 2.10.2
|
||||
version: 2.10.2(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
specifier: 2.10.3
|
||||
version: 2.10.3(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
nuxi:
|
||||
specifier: 3.15.0
|
||||
version: 3.15.0
|
||||
@ -176,7 +176,7 @@ importers:
|
||||
version: 2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0)
|
||||
vitest-environment-nuxt:
|
||||
specifier: 1.0.1
|
||||
version: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
version: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
vue:
|
||||
specifier: 3.5.12
|
||||
version: 3.5.12(typescript@5.6.3)
|
||||
@ -266,8 +266,8 @@ importers:
|
||||
specifier: 4.17.21
|
||||
version: 4.17.21
|
||||
nitropack:
|
||||
specifier: 2.10.2
|
||||
version: 2.10.2(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
specifier: 2.10.3
|
||||
version: 2.10.3(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
unbuild:
|
||||
specifier: latest
|
||||
version: 2.0.0(sass@1.78.0)(typescript@5.6.3)(vue-tsc@2.1.10(typescript@5.6.3))
|
||||
@ -392,8 +392,8 @@ importers:
|
||||
specifier: ^0.1.1
|
||||
version: 0.1.1
|
||||
nitropack:
|
||||
specifier: ^2.10.2
|
||||
version: 2.10.2(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
specifier: ^2.10.3
|
||||
version: 2.10.3(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
nuxi:
|
||||
specifier: ^3.15.0
|
||||
version: 3.15.0
|
||||
@ -755,8 +755,8 @@ importers:
|
||||
specifier: 6.0.2
|
||||
version: 6.0.2
|
||||
nitropack:
|
||||
specifier: 2.10.2
|
||||
version: 2.10.2(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
specifier: 2.10.3
|
||||
version: 2.10.3(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
ofetch:
|
||||
specifier: 1.4.1
|
||||
version: 1.4.1
|
||||
@ -1140,7 +1140,7 @@ importers:
|
||||
devDependencies:
|
||||
'@vue/devtools-api':
|
||||
specifier: latest
|
||||
version: 7.6.2
|
||||
version: 7.6.3
|
||||
postcss:
|
||||
specifier: 8.4.47
|
||||
version: 8.4.47
|
||||
@ -3197,8 +3197,8 @@ packages:
|
||||
'@vue/devtools-api@6.6.4':
|
||||
resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==}
|
||||
|
||||
'@vue/devtools-api@7.6.2':
|
||||
resolution: {integrity: sha512-NCT0ujqlwAhoFvCsAG7G5qS8w/A/dhvFSt2BhmNxyqgpYDrf9CG1zYyWLQkE3dsZ+5lCT6ULUic2VKNaE07Vzg==}
|
||||
'@vue/devtools-api@7.6.3':
|
||||
resolution: {integrity: sha512-H2TRzFA9hNezdtM6I0y3RCMhIg5T3gib/p9qI2IAS8gB9tvkAv4JZHAZZl5BZHhO7btuHkvHzU5qpO/vdsjYMg==}
|
||||
|
||||
'@vue/devtools-core@7.4.4':
|
||||
resolution: {integrity: sha512-DLxgA3DfeADkRzhAfm3G2Rw/cWxub64SdP5b+s5dwL30+whOGj+QNhmyFpwZ8ZTrHDFRIPj0RqNzJ8IRR1pz7w==}
|
||||
@ -3208,11 +3208,11 @@ packages:
|
||||
'@vue/devtools-kit@7.4.4':
|
||||
resolution: {integrity: sha512-awK/4NfsUG0nQ7qnTM37m7ZkEUMREyPh8taFCX+uQYps/MTFEum0AD05VeGDRMXwWvMmGIcWX9xp8ZiBddY0jw==}
|
||||
|
||||
'@vue/devtools-kit@7.6.2':
|
||||
resolution: {integrity: sha512-k61BxHRmcTtIQZFouF9QWt9nCCNtSdw12lhg8VNtHq5/XOBGD+ewiK27a40UJ8UPYoCJvi80hbvbYr5E/Zeu1g==}
|
||||
'@vue/devtools-kit@7.6.3':
|
||||
resolution: {integrity: sha512-ETsFc8GlOp04rSFN79tB2TpVloWfsSx9BoCSElV3w3CaJTSBfz42KsIi5Ka+dNTJs1jY7QVLTDeoBmUGgA9h2A==}
|
||||
|
||||
'@vue/devtools-shared@7.6.2':
|
||||
resolution: {integrity: sha512-lcjyJ7hCC0W0kNwnCGMLVTMvDLoZgjcq9BvboPgS+6jQyDul7fpzRSKTGtGhCHoxrDox7qBAKGbAl2Rcf7GE1A==}
|
||||
'@vue/devtools-shared@7.6.3':
|
||||
resolution: {integrity: sha512-wJW5QF27i16+sNQIaes8QoEZg1eqEgF83GkiPUlEQe9k7ZoHXHV7PRrnrxOKem42sIHPU813J2V/ZK1uqTJe6g==}
|
||||
|
||||
'@vue/language-core@2.1.10':
|
||||
resolution: {integrity: sha512-DAI289d0K3AB5TUG3xDp9OuQ71CnrujQwJrQnfuZDwo6eGNf0UoRlPuaVNO+Zrn65PC3j0oB2i7mNmVPggeGeQ==}
|
||||
@ -5765,8 +5765,8 @@ packages:
|
||||
neo-async@2.6.2:
|
||||
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
|
||||
|
||||
nitropack@2.10.2:
|
||||
resolution: {integrity: sha512-DxmaAcT33CpeBGU6ppVfT9g1nbjxxkwa4ZEkMwFrbsvTrShAQ7mZf3bTkdAB18iZmthlSovBpY8ecE1FbNvtQw==}
|
||||
nitropack@2.10.3:
|
||||
resolution: {integrity: sha512-7n+ITF7RbCMwZZzyacxJ9eMCnWuE60omGJEyLM5PQRKS4Vu5w6OOCvf4C6E3UC0UryFuUIwGbJ3M+tIP9Az9OQ==}
|
||||
engines: {node: ^16.11.0 || >=17.0.0}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
@ -8807,7 +8807,7 @@ snapshots:
|
||||
rc9: 2.1.2
|
||||
std-env: 3.7.0
|
||||
|
||||
'@nuxt/test-utils@3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)':
|
||||
'@nuxt/test-utils@3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)':
|
||||
dependencies:
|
||||
'@nuxt/kit': link:packages/kit
|
||||
'@nuxt/schema': link:packages/schema
|
||||
@ -8821,7 +8821,7 @@ snapshots:
|
||||
h3: 1.13.0
|
||||
local-pkg: 0.5.0
|
||||
magic-string: 0.30.12
|
||||
nitropack: 2.10.2(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
nitropack: 2.10.3(typescript@5.6.3)(webpack-sources@3.2.3)
|
||||
node-fetch-native: 1.6.4
|
||||
ofetch: 1.4.1
|
||||
pathe: 1.1.2
|
||||
@ -8834,7 +8834,7 @@ snapshots:
|
||||
unenv: 1.10.0
|
||||
unplugin: 1.15.0(webpack-sources@3.2.3)
|
||||
vite: 5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0)
|
||||
vitest-environment-nuxt: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
vitest-environment-nuxt: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
vue: 3.5.12(typescript@5.6.3)
|
||||
vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3))
|
||||
optionalDependencies:
|
||||
@ -10149,14 +10149,14 @@ snapshots:
|
||||
|
||||
'@vue/devtools-api@6.6.4': {}
|
||||
|
||||
'@vue/devtools-api@7.6.2':
|
||||
'@vue/devtools-api@7.6.3':
|
||||
dependencies:
|
||||
'@vue/devtools-kit': 7.6.2
|
||||
'@vue/devtools-kit': 7.6.3
|
||||
|
||||
'@vue/devtools-core@7.4.4(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vue@3.5.12(typescript@5.6.3))':
|
||||
dependencies:
|
||||
'@vue/devtools-kit': 7.6.2
|
||||
'@vue/devtools-shared': 7.6.2
|
||||
'@vue/devtools-kit': 7.6.3
|
||||
'@vue/devtools-shared': 7.6.3
|
||||
mitt: 3.0.1
|
||||
nanoid: 3.3.7
|
||||
pathe: 1.1.2
|
||||
@ -10167,7 +10167,7 @@ snapshots:
|
||||
|
||||
'@vue/devtools-kit@7.4.4':
|
||||
dependencies:
|
||||
'@vue/devtools-shared': 7.6.2
|
||||
'@vue/devtools-shared': 7.6.3
|
||||
birpc: 0.2.19
|
||||
hookable: 5.5.3
|
||||
mitt: 3.0.1
|
||||
@ -10175,9 +10175,9 @@ snapshots:
|
||||
speakingurl: 14.0.1
|
||||
superjson: 2.2.1
|
||||
|
||||
'@vue/devtools-kit@7.6.2':
|
||||
'@vue/devtools-kit@7.6.3':
|
||||
dependencies:
|
||||
'@vue/devtools-shared': 7.6.2
|
||||
'@vue/devtools-shared': 7.6.3
|
||||
birpc: 0.2.19
|
||||
hookable: 5.5.3
|
||||
mitt: 3.0.1
|
||||
@ -10185,7 +10185,7 @@ snapshots:
|
||||
speakingurl: 14.0.1
|
||||
superjson: 2.2.1
|
||||
|
||||
'@vue/devtools-shared@7.6.2':
|
||||
'@vue/devtools-shared@7.6.3':
|
||||
dependencies:
|
||||
rfdc: 1.4.1
|
||||
|
||||
@ -13120,7 +13120,7 @@ snapshots:
|
||||
|
||||
neo-async@2.6.2: {}
|
||||
|
||||
nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3):
|
||||
nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3):
|
||||
dependencies:
|
||||
'@cloudflare/kv-asset-handler': 0.3.4
|
||||
'@netlify/functions': 2.8.2
|
||||
@ -15104,9 +15104,9 @@ snapshots:
|
||||
sass: 1.78.0
|
||||
terser: 5.32.0
|
||||
|
||||
vitest-environment-nuxt@1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3):
|
||||
vitest-environment-nuxt@1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3):
|
||||
dependencies:
|
||||
'@nuxt/test-utils': 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.2(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
'@nuxt/test-utils': 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3@1.13.0)(happy-dom@15.9.0)(magicast@0.3.5)(nitropack@2.10.3(typescript@5.6.3)(webpack-sources@3.2.3))(playwright-core@1.48.2)(vite@5.4.10(@types/node@22.9.0)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.4(@types/node@22.9.0)(happy-dom@15.9.0)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))(webpack-sources@3.2.3)
|
||||
transitivePeerDependencies:
|
||||
- '@cucumber/cucumber'
|
||||
- '@jest/globals'
|
||||
|
@ -37,7 +37,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
||||
const serverDir = join(rootDir, '.output/server')
|
||||
|
||||
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"211k"`)
|
||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"215k"`)
|
||||
|
||||
const modules = await analyzeSizes(['node_modules/**/*'], serverDir)
|
||||
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"1390k"`)
|
||||
@ -77,7 +77,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
||||
const serverDir = join(rootDir, '.output-inline/server')
|
||||
|
||||
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"560k"`)
|
||||
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot(`"564k"`)
|
||||
|
||||
const modules = await analyzeSizes(['node_modules/**/*'], serverDir)
|
||||
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot(`"90.3k"`)
|
||||
|
Loading…
Reference in New Issue
Block a user