vite 5.0.0-beta.6 → 5.0.0-beta.8

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.
package/dist/node/cli.js CHANGED
@@ -2,7 +2,7 @@ import path from 'node:path';
2
2
  import fs from 'node:fs';
3
3
  import { performance } from 'node:perf_hooks';
4
4
  import { EventEmitter } from 'events';
5
- import { C as colors, x as createLogger, h as resolveConfig } from './chunks/dep-db07a1ea.js';
5
+ import { x as colors, k as createLogger, r as resolveConfig } from './chunks/dep-73034a1b.js';
6
6
  import { VERSION } from './constants.js';
7
7
  import 'node:fs/promises';
8
8
  import 'node:url';
@@ -27,21 +27,21 @@ import 'node:dns';
27
27
  import 'crypto';
28
28
  import 'node:buffer';
29
29
  import 'module';
30
- import 'rollup';
31
30
  import 'node:assert';
32
31
  import 'node:process';
33
32
  import 'node:v8';
33
+ import 'rollup';
34
+ import 'querystring';
35
+ import 'node:readline';
36
+ import 'node:events';
34
37
  import 'node:http';
35
38
  import 'node:https';
36
39
  import 'zlib';
37
40
  import 'buffer';
38
41
  import 'https';
39
42
  import 'tls';
40
- import 'worker_threads';
41
- import 'querystring';
42
- import 'node:readline';
43
- import 'node:events';
44
43
  import 'node:zlib';
44
+ import 'worker_threads';
45
45
 
46
46
  function toArr(any) {
47
47
  return any == null ? [] : Array.isArray(any) ? any : [any];
@@ -759,7 +759,7 @@ cli
759
759
  filterDuplicateOptions(options);
760
760
  // output structure is preserved even after bundling so require()
761
761
  // is ok here
762
- const { createServer } = await import('./chunks/dep-db07a1ea.js').then(function (n) { return n.H; });
762
+ const { createServer } = await import('./chunks/dep-73034a1b.js').then(function (n) { return n.C; });
763
763
  try {
764
764
  const server = await createServer({
765
765
  root,
@@ -840,7 +840,7 @@ cli
840
840
  .option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
841
841
  .action(async (root, options) => {
842
842
  filterDuplicateOptions(options);
843
- const { build } = await import('./chunks/dep-db07a1ea.js').then(function (n) { return n.G; });
843
+ const { build } = await import('./chunks/dep-73034a1b.js').then(function (n) { return n.B; });
844
844
  const buildOptions = cleanOptions(options);
845
845
  try {
846
846
  await build({
@@ -868,7 +868,7 @@ cli
868
868
  .option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
869
869
  .action(async (root, options) => {
870
870
  filterDuplicateOptions(options);
871
- const { optimizeDeps } = await import('./chunks/dep-db07a1ea.js').then(function (n) { return n.F; });
871
+ const { optimizeDeps } = await import('./chunks/dep-73034a1b.js').then(function (n) { return n.A; });
872
872
  try {
873
873
  const config = await resolveConfig({
874
874
  root,
@@ -895,7 +895,7 @@ cli
895
895
  .option('--outDir <dir>', `[string] output directory (default: dist)`)
896
896
  .action(async (root, options) => {
897
897
  filterDuplicateOptions(options);
898
- const { preview } = await import('./chunks/dep-db07a1ea.js').then(function (n) { return n.I; });
898
+ const { preview } = await import('./chunks/dep-73034a1b.js').then(function (n) { return n.D; });
899
899
  try {
900
900
  const server = await preview({
901
901
  root,