跳转到主要内容
本章内容8
-
01
Build Options
Unless noted, the options in this section are only applied to build.
build.target
Type:
string | string[]
...
2 天前
-
02
Dep Optimization Options
Related: Dependency Pre-Bundling
Unless noted, the options in this section are only applied to the dependen...
2 天前
-
03
Configuring Vite
When running
vite from the command line, Vite will automatically try to resolve a config file named
vite....
2 天前
-
04
Preview Options
Unless noted, the options in this section are only applied to preview.
preview.host
Type:
string | boolean...
2 天前
-
05
Server Options
Unless noted, the options in this section are only applied to dev.
server.host
Type:
string | boolean
Defa...
2 天前
-
06
Shared Options
Unless noted, the options in this section are applied to all dev, build, and preview.
root
Type:
string
De...
2 天前
-
07
SSR Options
Unless noted, the options in this section are applied to both dev and build.
ssr.external
Type:
string[] |...
2 天前
-
08
Worker Options
Unless noted, the options in this section are applied to all dev, build, and preview.
worker.format
Type:
...
2 天前