v1.0 with SW PWA enabled
This commit is contained in:
10
frontend/node_modules/vite/dist/node/cli.js
generated
vendored
10
frontend/node_modules/vite/dist/node/cli.js
generated
vendored
@ -2,7 +2,7 @@ import path from 'node:path';
|
||||
import fs__default from 'node:fs';
|
||||
import { performance } from 'node:perf_hooks';
|
||||
import { EventEmitter } from 'events';
|
||||
import { B as colors, v as createLogger, r as resolveConfig } from './chunks/dep-C6uTJdX2.js';
|
||||
import { B as colors, v as createLogger, r as resolveConfig } from './chunks/dep-BK3b2jBa.js';
|
||||
import { VERSION } from './constants.js';
|
||||
import 'node:fs/promises';
|
||||
import 'node:url';
|
||||
@ -731,7 +731,7 @@ cli.command("[root]", "start dev server").alias("serve").alias("dev").option("--
|
||||
`[boolean] force the optimizer to ignore the cache and re-bundle`
|
||||
).action(async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { createServer } = await import('./chunks/dep-C6uTJdX2.js').then(function (n) { return n.F; });
|
||||
const { createServer } = await import('./chunks/dep-BK3b2jBa.js').then(function (n) { return n.F; });
|
||||
try {
|
||||
const server = await createServer({
|
||||
root,
|
||||
@ -823,7 +823,7 @@ cli.command("build [root]", "build for production").option("--target <target>",
|
||||
`[boolean] force empty outDir when it's outside of root`
|
||||
).option("-w, --watch", `[boolean] rebuilds when modules have changed on disk`).action(async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { build } = await import('./chunks/dep-C6uTJdX2.js').then(function (n) { return n.G; });
|
||||
const { build } = await import('./chunks/dep-BK3b2jBa.js').then(function (n) { return n.G; });
|
||||
const buildOptions = cleanOptions(options);
|
||||
try {
|
||||
await build({
|
||||
@ -852,7 +852,7 @@ cli.command("optimize [root]", "pre-bundle dependencies").option(
|
||||
).action(
|
||||
async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { optimizeDeps } = await import('./chunks/dep-C6uTJdX2.js').then(function (n) { return n.E; });
|
||||
const { optimizeDeps } = await import('./chunks/dep-BK3b2jBa.js').then(function (n) { return n.E; });
|
||||
try {
|
||||
const config = await resolveConfig(
|
||||
{
|
||||
@ -878,7 +878,7 @@ ${e.stack}`),
|
||||
cli.command("preview [root]", "locally preview production build").option("--host [host]", `[string] specify hostname`, { type: [convertHost] }).option("--port <port>", `[number] specify port`).option("--strictPort", `[boolean] exit if specified port is already in use`).option("--open [path]", `[boolean | string] open browser on startup`).option("--outDir <dir>", `[string] output directory (default: dist)`).action(
|
||||
async (root, options) => {
|
||||
filterDuplicateOptions(options);
|
||||
const { preview } = await import('./chunks/dep-C6uTJdX2.js').then(function (n) { return n.H; });
|
||||
const { preview } = await import('./chunks/dep-BK3b2jBa.js').then(function (n) { return n.H; });
|
||||
try {
|
||||
const server = await preview({
|
||||
root,
|
||||
|
||||
Reference in New Issue
Block a user