heritage-frontend/netlify.toml
Leo f708ba712a 配置:添加环境配置和部署文件
- 添加环境变量配置(.env, .env.dev, .env.test, .env.prod)
- 添加Docker配置(.dockerignore)
- 添加Nginx部署配置(nginx.conf)
- 添加Netlify部署配置(netlify.toml)
- 添加HTML入口文件(index.html)
2025-10-08 02:23:45 +08:00

18 lines
264 B
TOML

[build]
publish = "dist"
command = "vite build --mode prod"
[build.environment]
NODE_VERSION = "20"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"