Company
Date Published
Author
Dan Bucholtz I'm a software engineer for Io...
Word count
645
Language
English
Hacker News points
None

Summary

The new version 0.0.42 of @ionic/app-scripts, used in the build process for Ionic apps, introduces significant improvements to developer experience and build speed. The update reduces build times by 40-70% through optimized handling of source maps, following Facebook's create-react-app model, while also providing an option to use the original TypeScript source map for thorough debugging. Enhanced error reporting now displays compile errors directly in the browser, replacing the "white screen of death," which aids developers in troubleshooting code issues more effectively. To implement these updates, developers need to make minor changes to the package.json file and update their scripts. The Ionic team remains committed to further refining the build process by enhancing runtime error reporting and collaborating with the Angular team to improve the speed and error output of the ngc AoT compiler.