提交 8019c8cb 编写于 作者: 米司特包's avatar 米司特包

feat: synchronized build mode of application and front-end resources

上级 e13372e2
......@@ -4,7 +4,8 @@
"scripts": {
"dev": "vite",
"build": "vite build --emptyOutDir",
"build:watch": "vite build --watch --emptyOutDir",
"build:dev": "vite build --mode development --emptyOutDir",
"build:dev:watch": "vite build --mode development --watch --emptyOutDir",
"preview": "vite preview"
},
"dependencies": {
......
......@@ -4,8 +4,8 @@
"scripts": {
"dev": "vite",
"build:finally": "vue-tsc --noEmit && vite build --emptyOutDir",
"build": "vite build --emptyOutDir",
"build:watch": "vite build --watch --emptyOutDir",
"build:dev": "vite build --mode development --emptyOutDir",
"build:dev:watch": "vite build --mode development --watch --emptyOutDir",
"preview": "vite preview"
},
"dependencies": {
......
......@@ -4,8 +4,9 @@
"assetdir": "frontend/dist",
"frontend:install": "npm install",
"frontend:build": "npm run build -w js",
"frontend:dev:watcher": "npm run build:watch -w js",
"debounceMS": 1500,
"frontend:dev": "npm run build:dev -w js",
"frontend:dev:watcher": "npm run build:dev:watch -w js",
"debounceMS": 1200,
"author": {
"name": "{{.AuthorName}}",
"email": "{{.AuthorEmail}}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册