Skip to content

Commit

Permalink
build: throw build error instead of silent fail
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljablonski committed Mar 5, 2023
1 parent 9c3c9f0 commit af53118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esbuild.config.prod.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ buildsConfig.forEach(({ format, outfile, minify }) => {
)
})

await Promise.allSettled(builds)
await Promise.all(builds)

// Remove all unecessary or duplicated files from `dist` folder after build
fs.unlink('./dist/react-tooltip.cjs.css', () => null) // generated by cjs build
Expand Down

0 comments on commit af53118

Please sign in to comment.