fix: print errorDetails with env.verbose

This commit is contained in:
Igor Randjelovic
2021-03-29 13:58:22 +02:00
parent 44c8ef9993
commit c2297464bc

View File

@ -45,8 +45,6 @@ program
.description('Build...')
.option('--env [name]', 'environment name')
.option('--config [path]', 'config path')
// .option('--hmr', 'enable HMR')
// .option('--no-hmr', 'disable HMR')
.option('--watch', 'watch for changes')
.allowUnknownOption()
.action((options, command) => {
@ -104,6 +102,7 @@ program
stats.toString({
chunks: false,
colors: true,
errorDetails: env.verbose,
})
);
}