webpack-modular icon indicating copy to clipboard operation
webpack-modular copied to clipboard

A scaffold project to demonstrate modular, simple and efficient use of webpack and npm in a frontend project

webpack-modular

A scaffold of a frontend project which implements some of the best practices to harnest the powers of webpack 2. The app itself is based on AngularJS, but most aspects of the bundling process are relevant to any stack.

Based on the architecture described in the Medium article - A Webpack Setup that Makes Sense

Checkout the bootstrap 4 branch

Intsall

clone the project and run

npm install

Run

npm run serve - bundle the project and run a development server

npm run build - bundle the project into a dist folder