mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
fix: print errorDetails with env.verbose
This commit is contained in:
@ -45,8 +45,6 @@ program
|
|||||||
.description('Build...')
|
.description('Build...')
|
||||||
.option('--env [name]', 'environment name')
|
.option('--env [name]', 'environment name')
|
||||||
.option('--config [path]', 'config path')
|
.option('--config [path]', 'config path')
|
||||||
// .option('--hmr', 'enable HMR')
|
|
||||||
// .option('--no-hmr', 'disable HMR')
|
|
||||||
.option('--watch', 'watch for changes')
|
.option('--watch', 'watch for changes')
|
||||||
.allowUnknownOption()
|
.allowUnknownOption()
|
||||||
.action((options, command) => {
|
.action((options, command) => {
|
||||||
@ -104,6 +102,7 @@ program
|
|||||||
stats.toString({
|
stats.toString({
|
||||||
chunks: false,
|
chunks: false,
|
||||||
colors: true,
|
colors: true,
|
||||||
|
errorDetails: env.verbose,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user