move config

This commit is contained in:
gaoshuaixing
2023-11-14 18:34:51 +08:00
parent 613bd2e682
commit 30bda1a5ae
2 changed files with 21 additions and 6 deletions

View File

@@ -36,12 +36,26 @@ module.exports = {
/**
* 移动资源
* ee-bin rd
* ee-bin move
*/
rd: {
dist: './frontend/dist',
target: './public/dist'
},
move: {
frontend_dist: {
dist: './frontend/dist',
target: './public/dist'
},
go_static: {
dist: './frontend/dist',
target: './go/public/dist'
},
go_config: {
dist: './go/config',
target: './go/public/config'
},
go_package: {
dist: './package.json',
target: './go/public/package.json'
}
},
/**
* 预发布模式prod

View File

@@ -13,7 +13,8 @@
"build-go-m": "ee-bin exec --command=go_build_m",
"build-go-l": "ee-bin exec --command=go_build_l",
"start": "ee-bin start",
"rd": "ee-bin rd",
"move": "ee-bin move --flag=go_static,go_config,go_package",
"rd": "ee-bin move --flag=frontend_dist",
"encrypt": "ee-bin encrypt",
"clean": "ee-bin clean",
"icon": "ee-bin icon",