O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we prepared our app for distribution by adding webpack into our build chain to help ensure that we have the smallest JavaScript size and the optimal execution performance of our code. This also enabled Angular's AoT compilation on our app, which helps to provide an optimal performance of our code.

Along the way, we provided a cookbook of solutions to various webpack bundling errors that you might run into during the course of your app's development. In addition, we took a high-level look at developing a custom webpack plugin to help solve a particular error condition in our app to achieve a successful bundle.

Now that we have an optimal bundle of our app code, we are now ready to finish our distribution steps to finally ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required