(Theoretically we don’t need module bundling when using Electron, because Node.js has native support for modules, but because Webpack handles so much different things of our projects infrastructure, it is easier to configure Webpack for Electron and bundle our project, than it is to rebuild all the infrastructure ourselves.) Unfortunately the Angular-CLI hides the Webpack configuration it uses for building the project, so there is no official way to adapt the build in the current version of the CLI ( v1.0.0-beta.20-4). The Angular-CLI uses Webpack to handle the project build, the development server and particularly the module bundling. In this article we will go over the process of building a hybrid Desktop App with Angular 2 using the Angular-CLI and Electron. The Electron Framework by GitHub attempts to tackle those problems while preserving the advantages of web technologies by wrapping conventional web apps as native applications and giving them powerful access to the underlying system and their environment.
no offline usage, no integration into application menu or task bar in most cases). missing file system access) or hurt the user experience (e.g. Especially the limited environment integration and system access capabilities make some kinds of applications impossible (e.g. Although these applications can fulfill numerous use cases they may fall short in others because of the limitations web applications have.
The rapid development in the world of web technologies, especially in SPA frameworks like Angular 2 and React, empowers developers to build enterprise scale, platform independent applications with a flexible and vivid technology stack.