fix: bugs

This commit is contained in:
qier222 2022-04-29 19:16:34 +08:00
parent ffdf66b57e
commit d3e44541fb
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
17 changed files with 799 additions and 469 deletions

View file

@ -28,6 +28,7 @@ const options = {
platform: 'node',
format: 'cjs',
bundle: true,
sourcemap: true,
define: envForEsbuild,
external: [
...builtinModules.filter(
@ -80,6 +81,7 @@ if (argv.watch) {
}
},
},
sourcemap: true,
}).then(() => {
console.log(pc.yellow(`⚡ Run App`))
if (child) child.kill()