mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): failed to throw error (#7783)
* fix(cli): failed to throw error * fix: stat
This commit is contained in:
parent
b4cb00ed97
commit
cdd48318db
@ -7,7 +7,7 @@ export async function compilePackage(isMinify: boolean) {
|
||||
|
||||
webpack(config, (err, stats) => {
|
||||
if (err || stats.hasErrors()) {
|
||||
reject();
|
||||
reject(err || stats.toString());
|
||||
} else {
|
||||
resolve();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user