The error messages in Elm are fantastic. Checkout this error that came from an extra `}` via babel. It's completely unreadable and very unhelpful.
Uncaught Error: Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: my-file.js: Unexpected token, expected ";" (283:4)
[0m [90m 281 | [39m [36mvar[39m newWidth [33m=[39m totalWidth [33m>[39m width [33m?[39m (clientWidth [33m-[39m padding) [33m:[39m (img[33m.[39mwidth [33m+[39m paddingTotal)[33m;[39m[0m [0m [90m 282 | [39m [36mvar[39m newHeight [33m=[39m newWidth [33m/[39m imageAspectRatio[33m;[39m[0m [0m[31m[1m>[22m[39m[90m 283 | [39m } [36melse[39m [36mif[39m (imageAspectRatio [33m<[39m [35m1[39m) {[0m [0m [90m | [39m [31m[1m^[22m[39m[0m