模版文件 增加 start:web:prod和start:mp:prod
This commit is contained in:
parent
d6805c9073
commit
5a46313af6
|
|
@ -33,9 +33,11 @@ function packageJsonContent({ name, version, description, cliVersion, cliName, c
|
|||
"scripts": {
|
||||
"make:domain": "${cliBinName} make",
|
||||
"start:mp": "${cliBinName} start --target mp --mode development",
|
||||
"start:mp:prod": "${cliBinName} start --target mp --mode development --prod",
|
||||
"build:mp": "${cliBinName} build --target mp --mode production",
|
||||
"build-analyze:mp": "${cliBinName} build --target mp --mode production --analyze",
|
||||
"start:web": "${cliBinName} start --target web --mode development",
|
||||
"start:web:prod": "${cliBinName} start --target web --mode development --prod",
|
||||
"build:web": "${cliBinName} build --target web --mode production",
|
||||
"build-analyze:web": "${cliBinName} build --target web --mode production --analyze",
|
||||
"build-sourcemap-analyze:web": "${cliBinName} build --target web --mode production --sourcemap --analyze",
|
||||
|
|
|
|||
|
|
@ -40,9 +40,11 @@ export function packageJsonContent({
|
|||
"scripts": {
|
||||
"make:domain": "${cliBinName} make",
|
||||
"start:mp": "${cliBinName} start --target mp --mode development",
|
||||
"start:mp:prod": "${cliBinName} start --target mp --mode development --prod",
|
||||
"build:mp": "${cliBinName} build --target mp --mode production",
|
||||
"build-analyze:mp": "${cliBinName} build --target mp --mode production --analyze",
|
||||
"start:web": "${cliBinName} start --target web --mode development",
|
||||
"start:web:prod": "${cliBinName} start --target web --mode development --prod",
|
||||
"build:web": "${cliBinName} build --target web --mode production",
|
||||
"build-analyze:web": "${cliBinName} build --target web --mode production --analyze",
|
||||
"build-sourcemap-analyze:web": "${cliBinName} build --target web --mode production --sourcemap --analyze",
|
||||
|
|
|
|||
Loading…
Reference in New Issue