🔧
This commit is contained in:
10
node_modules/vite/dist/node/cli.js
generated
vendored
10
node_modules/vite/dist/node/cli.js
generated
vendored
@@ -2,7 +2,7 @@ import path from 'node:path';
|
||||
import fs from 'node:fs';
|
||||
import { performance } from 'node:perf_hooks';
|
||||
import { EventEmitter } from 'events';
|
||||
import { x as colors, k as createLogger, r as resolveConfig } from './chunks/dep-R0I0XnyH.js';
|
||||
import { x as colors, k as createLogger, r as resolveConfig } from './chunks/dep-9A4-l-43.js';
|
||||
import { VERSION } from './constants.js';
|
||||
import 'node:fs/promises';
|
||||
import 'node:url';
|
||||
@@ -759,7 +759,7 @@ cli
|
||||
filterDuplicateOptions(options);
|
||||
// output structure is preserved even after bundling so require()
|
||||
// is ok here
|
||||
const { createServer } = await import('./chunks/dep-R0I0XnyH.js').then(function (n) { return n.A; });
|
||||
const { createServer } = await import('./chunks/dep-9A4-l-43.js').then(function (n) { return n.A; });
|
||||
try {
|
||||
const server = await createServer({
|
||||
root,
|
||||
@@ -839,7 +839,7 @@ cli
|
||||
.option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
|
||||
.action(async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { build } = await import('./chunks/dep-R0I0XnyH.js').then(function (n) { return n.C; });
|
||||
const { build } = await import('./chunks/dep-9A4-l-43.js').then(function (n) { return n.C; });
|
||||
const buildOptions = cleanOptions(options);
|
||||
try {
|
||||
await build({
|
||||
@@ -867,7 +867,7 @@ cli
|
||||
.option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
|
||||
.action(async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { optimizeDeps } = await import('./chunks/dep-R0I0XnyH.js').then(function (n) { return n.B; });
|
||||
const { optimizeDeps } = await import('./chunks/dep-9A4-l-43.js').then(function (n) { return n.B; });
|
||||
try {
|
||||
const config = await resolveConfig({
|
||||
root,
|
||||
@@ -893,7 +893,7 @@ cli
|
||||
.option('--outDir <dir>', `[string] output directory (default: dist)`)
|
||||
.action(async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { preview } = await import('./chunks/dep-R0I0XnyH.js').then(function (n) { return n.D; });
|
||||
const { preview } = await import('./chunks/dep-9A4-l-43.js').then(function (n) { return n.D; });
|
||||
try {
|
||||
const server = await preview({
|
||||
root,
|
||||
|
||||
Reference in New Issue
Block a user