Skip to content

Commit 72bb943

Browse files
committed
build: update dependency vite to v7
See associated pull request for more information. Closes #30586 as a pr takeover
1 parent 4ab3ee8 commit 72bb943

File tree

4 files changed

+72
-16
lines changed

4 files changed

+72
-16
lines changed

packages/angular/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"semver": "7.7.2",
4343
"source-map-support": "0.5.21",
4444
"tinyglobby": "0.2.14",
45-
"vite": "6.3.5",
45+
"vite": "7.0.0",
4646
"watchpack": "2.4.4"
4747
},
4848
"optionalDependencies": {

packages/angular/build/src/tools/vite/plugins/angular-memory-plugin.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ export async function createAngularMemoryPlugin(
121121
async function loadViteClientCode(file: string, disableViteTransport = false): Promise<string> {
122122
const originalContents = await readFile(file, 'utf-8');
123123
let updatedContents = originalContents.replace(
124-
`"You can also disable this overlay by setting ",
125-
h("code", { part: "config-option-name" }, "server.hmr.overlay"),
126-
" to ",
127-
h("code", { part: "config-option-value" }, "false"),
128-
" in ",
129-
h("code", { part: "config-file-name" }, hmrConfigName),
130-
"."`,
124+
'"You can also disable this overlay by setting ", ' +
125+
'h("code", { part: "config-option-name" }, "server.hmr.overlay"), ' +
126+
'" to ", ' +
127+
'h("code", { part: "config-option-value" }, "false"), ' +
128+
'" in ", ' +
129+
'h("code", { part: "config-file-name" }, hmrConfigName), ' +
130+
'"."',
131131
'',
132132
);
133133

packages/angular/build/src/tools/vite/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
import { lookup as lookupMimeType } from 'mrmime';
10-
import { isBuiltin } from 'node:module';
1110
import { extname } from 'node:path';
1211
import type { DepOptimizationConfig } from 'vite';
1312
import { JavaScriptTransformer } from '../esbuild/javascript-transformer';

pnpm-lock.yaml

Lines changed: 64 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)