Skip to content

dsum27/example-app

 
 

Repository files navigation

webpack webapp example

For demonstration this app uses npm and jam package manager.

Install and build this app with:

# You need to have node.js installed
npm install [email protected] [email protected] [email protected] -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:

webpack -d --progress --colors --watch

Or use the development server:

npm start
# which is equal to
webpack-dev-server -d --colors

And open http://localhost:8080.

About

example web app for webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.3%
  • HTML 27.7%
  • CSS 3.0%