mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-19 05:48:08 +08:00
move config
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user