https://github.com/webpack/example-app
[OUTDATED] example web app for webpack
https://github.com/webpack/example-app
Last synced: 4 months ago
JSON representation
[OUTDATED] example web app for webpack
- Host: GitHub
- URL: https://github.com/webpack/example-app
- Owner: webpack
- Archived: true
- Created: 2012-04-08T10:49:20.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-12-27T18:32:16.000Z (about 9 years ago)
- Last Synced: 2024-10-29T14:58:04.887Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://webpack.github.com/example-app/
- Size: 1.34 MB
- Stars: 138
- Watchers: 12
- Forks: 46
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webpack webapp example
For demonstration this app uses `npm` and `jam` package manager.
Install and build this app with:
``` text
# You need to have node.js installed
npm install jamjs@0.2.x webpack@1.2.x webpack-dev-server@1.2.x -g
cd example-app
npm install
jam install
webpack -p --progress --colors --devtool sourcemap --hot
webpack -p --progress --colors --devtool sourcemap --hot --config webpack-update1.config.js
webpack -p --progress --colors --devtool sourcemap --hot --config webpack-update2.config.js
index.html
```
NOTE: It's a production ready build, so it may take a while.
For watching and debugging you can alternatively compile with:
``` text
webpack -d --progress --colors --watch
```
Or use the development server:
``` text
npm start
# which is equal to
webpack-dev-server -d --colors
```
And open [http://localhost:8080](http://localhost:8080).