Angular and Javascript blog
Currently browsing: Webpack

Webpack

  • How to create an Angular library

    In the first post we built our application in AOT mode, now it’s time to create a library that is AOT compliant.

    Most of you are thinking …”wait, is it not the same????” No it’s not, unfortunately it is not an easy job to find good resources and angular.io doesn’t help a lot for that.

    Don’t worry we’ll figure […]

  • Angular2 AOT with Webpack and Lazy Loading

    @update: Updated the repo with webpack 2.2 angular 2.4.3 and ngtools 1.2.3
    Most of you have already heard about ‘AOT and lazy loading’ and you’re struggling, without success, to setup it.
    I’ll show you how to configure it and, if you’re really curious or you’re learning angular2, some technical details about AOT (at least you read the […]