The code side of life

The code side of life

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


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,…