Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 904 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 904 Bytes

example

webpack-dev-server --colors
http://localhost:8080/bundle

The app should display "It's working" with a dotted background.

There is no file named bundle in this directory. The dev server creates a simple html that executes a javascript file: bundle.js (<path>.js)

webpack-dev-server --colors
http://localhost:8080/index.html

The app should display "It's working" with a green background.

There is a file named index.html in this directory. This file is served as content

webpack-dev-server --colors --config alternative.config.js
http://localhost:8080/bundle
http://localhost:8080/index.html

The app should be minimized and the image is included with a Data Url.

Reloading

Try to update app.js, by uncommenting some lines.

The browser should reflect your changes.

You may also update the css file or any other file used by the app.