diff --git a/packages/vite/package.json b/packages/vite/package.json index 19b9f9ab2f..966d9cc8fd 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@nuxt/kit": "workspace:*", - "@rollup/plugin-replace": "^5.0.7", + "@rollup/plugin-replace": "^6.0.1", "@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue-jsx": "^4.0.1", "autoprefixer": "^10.4.20", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ae01452fd4..907a24128d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -662,8 +662,8 @@ importers: specifier: workspace:* version: link:../kit '@rollup/plugin-replace': - specifier: ^5.0.7 - version: 5.0.7(rollup@4.22.4) + specifier: ^6.0.1 + version: 6.0.1(rollup@4.22.4) '@vitejs/plugin-vue': specifier: ^5.1.4 version: 5.1.4(vite@5.4.7(@types/node@20.16.5)(sass@1.78.0)(terser@5.32.0))(vue@3.5.8(typescript@5.6.2)) @@ -2204,6 +2204,15 @@ packages: rollup: optional: true + '@rollup/plugin-replace@6.0.1': + resolution: {integrity: sha512-2sPh9b73dj5IxuMmDAsQWVFT7mR+yoHweBaXG2W/R8vQ+IWZlnaI7BR7J6EguVQUp1hd8Z7XuozpDjEKQAAC2Q==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: 4.22.4 + peerDependenciesMeta: + rollup: + optional: true + '@rollup/plugin-terser@0.4.4': resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==} engines: {node: '>=14.0.0'} @@ -8638,6 +8647,13 @@ snapshots: optionalDependencies: rollup: 4.22.4 + '@rollup/plugin-replace@6.0.1(rollup@4.22.4)': + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + magic-string: 0.30.11 + optionalDependencies: + rollup: 4.22.4 + '@rollup/plugin-terser@0.4.4(rollup@4.22.4)': dependencies: serialize-javascript: 6.0.2