magic-script-cli icon indicating copy to clipboard operation
magic-script-cli copied to clipboard

Build command swallows errors

Open creationix opened this issue 6 years ago • 2 comments

If there is an error in the rollup build step, the output is suppressed and the build continues as if nothing bad happened. The symptom is after a while, changing source files won't affect anything in the bin folder (or the resulting mpk) anymore.

We should detect failed rollup runs and show the diagnostic info and fail the build command.

creationix avatar Feb 18 '19 22:02 creationix

A simple way to test this is to remove the externals from your rollup config (assuming your app uses at least one of them)

creationix avatar Feb 18 '19 22:02 creationix

MXSCOMP-200

grozdanov avatar Mar 26 '20 21:03 grozdanov