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
- Host: GitHub
- URL: https://github.com/idanco/webpack-modular
- Owner: IdanCo
- Created: 2017-03-18T20:15:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-22T08:57:09.000Z (over 8 years ago)
- Last Synced: 2025-03-18T18:58:02.701Z (over 1 year ago)
- Topics: webpack
- Language: JavaScript
- Size: 26.4 KB
- Stars: 17
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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