magic-script-cli
magic-script-cli copied to clipboard
Build command swallows errors
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.
A simple way to test this is to remove the externals from your rollup config (assuming your app uses at least one of them)
MXSCOMP-200