The code side of life

The code side of life

JavaScript, TypeScript, ES6, Angular, Node, Architecture and more.


TagWebpack
Featured

Angular2 Webpack AOT JIT

Best of both - Angular 2 AOT Compilation with Lazy JIT Compilation

Posted on .

There's an old saying You can't have the best of both worlds That's true, especially for developers, trade-offs are an everyday struggle. What should I choose, Ahead of Time or Just in Time compilation? TL;DR Choose Ahead of Time But you can also combine…

Featured

Angular 2 SASS Webpack ViewEncapsulation

Angular 2, Webpack, SASS and ViewEncapsulation

Posted on .

When things were simple Working with webpack and SASS is no new news, the process is straight forward. Set a loader to catch all .scss flies and define a chain of loaders to handle it. Here's a simple example of a loader that compiles all SCSS files into CSS,…