You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what was the original rational behind this particulartry...catch block but it cased me a good bit of a headache today. In my case the build silently failed without producing any assets and CDK complained "Bundling did not produce any output". buildSync could not load esbuild-darwin-arm64 (I'm on M1 Mac) and the try...catch block ate the error without giving a notice.
Looking back at the history, PR #212 and the issue #205 are the background for the current implementation.
I guess I later added a special case to handle Module Not Found errors, likely because of a similar issue you encountered.
Looking at the code now, I reckon we can move the first two lines out of the try...catch block. That should keep all important errors and stop any esbuild ones. 🤔
Not sure what was the original rational behind this particular
try...catch
block but it cased me a good bit of a headache today. In my case the build silently failed without producing any assets and CDK complained "Bundling did not produce any output".buildSync
could not loadesbuild-darwin-arm64
(I'm on M1 Mac) and thetry...catch
block ate the error without giving a notice.Here is the problematic block of code.
The text was updated successfully, but these errors were encountered: