vite 7.2.7 → 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,9 +88,6 @@ const ROLLUP_HOOKS = [
88
88
  "footer",
89
89
  "augmentChunkHash",
90
90
  "outputOptions",
91
- "renderDynamicImport",
92
- "resolveFileUrl",
93
- "resolveImportMeta",
94
91
  "intro",
95
92
  "outro",
96
93
  "closeBundle",
@@ -100,7 +97,6 @@ const ROLLUP_HOOKS = [
100
97
  "watchChange",
101
98
  "resolveDynamicImport",
102
99
  "resolveId",
103
- "shouldTransformCachedModule",
104
100
  "transform",
105
101
  "onLog"
106
102
  ];
@@ -144,10 +140,10 @@ const DEFAULT_EXTENSIONS = [
144
140
  * The value is generated by `pnpm generate-target` script.
145
141
  */
146
142
  const ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET = [
147
- "chrome107",
148
- "edge107",
149
- "firefox104",
150
- "safari16"
143
+ "chrome111",
144
+ "edge111",
145
+ "firefox114",
146
+ "safari16.4"
151
147
  ];
152
148
  const DEFAULT_CONFIG_FILES = [
153
149
  "vite.config.js",
@@ -319,9 +315,9 @@ function createLogger(level = "info", options = {}) {
319
315
  return logger;
320
316
  }
321
317
  function printServerUrls(urls, optionsHost, info) {
322
- const colorUrl = (url) => import_picocolors.default.cyan(url.replace(/:(\d+)\//, (_, port) => `:${import_picocolors.default.bold(port)}/`));
323
- for (const url of urls.local) info(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Local")}: ${colorUrl(url)}`);
324
- for (const url of urls.network) info(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Network")}: ${colorUrl(url)}`);
318
+ const colorUrl = (url$1) => import_picocolors.default.cyan(url$1.replace(/:(\d+)\//, (_, port) => `:${import_picocolors.default.bold(port)}/`));
319
+ for (const url$1 of urls.local) info(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Local")}: ${colorUrl(url$1)}`);
320
+ for (const url$1 of urls.network) info(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Network")}: ${colorUrl(url$1)}`);
325
321
  if (urls.network.length === 0 && optionsHost === void 0) info(import_picocolors.default.dim(` ${import_picocolors.default.green("➜")} ${import_picocolors.default.bold("Network")}: use `) + import_picocolors.default.bold("--host") + import_picocolors.default.dim(" to expose"));
326
322
  }
327
323