update: 修改 package.json 中的开发和生产模式脚本,添加 --host 参数以支持主机设置

This commit is contained in:
Lexcubia 2025-04-21 16:47:06 +08:00
parent 9f55780796
commit fcd3cbdee4
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --mode development",
"dev:test": "vite --mode test",
"dev": "vite --mode development --host",
"dev:prod": "vite --mode production --host",
"build": "vite build",
"build:dev": "vite build --mode development",
"build:prod": "vite build --mode production",