We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f19c08 commit ec6b6abCopy full SHA for ec6b6ab
build.mjs
@@ -2,6 +2,7 @@ import esbuild from 'esbuild'
2
import copyPluginPkg from '@sprout2000/esbuild-copy-plugin'
3
import { lessLoader } from 'esbuild-plugin-less'
4
import * as process from 'node:process'
5
+import * as console from 'node:console'
6
7
const { copyPlugin } = copyPluginPkg
8
const isProduction = !process.argv.includes('--development')
@@ -79,4 +80,9 @@ async function buildUI(...apps) {
79
80
}
81
82
-await Promise.allSettled([buildExtension(), buildUI('ing', 'post-cfg')])
83
+try {
84
+ await Promise.all([buildExtension(), buildUI('ing', 'post-cfg')])
85
+} catch (ex) {
86
+ console.error(ex)
87
+ process.exit(1)
88
+}
0 commit comments