An open API service indexing awesome lists of open source software.

https://github.com/idanco/webpack-modular

A scaffold project to demonstrate modular, simple and efficient use of webpack and npm in a frontend project
https://github.com/idanco/webpack-modular

webpack

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# webpack-modular

A scaffold of a frontend project which implements some of the best practices to harnest the powers of [webpack 2](https://webpack.js.org/). The app itself is based on [AngularJS](https://angularjs.org/), 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](https://medium.com/@Idan_Co/a-webpack-setup-that-makes-sense-35b4b6b8ef5f)**

Checkout the [bootstrap 4 branch](https://github.com/IdanCo/webpack-modular/tree/bootstrap4)

## 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