Skip to content

roxolan/webpack-babel-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack Babel demo

Demonstrates how to use webpack with Babel.

Installation:

cd webpack-babel-demo/
npm install

There are three ways in which you can build and run the web app:

  • Build once:
    • npm run build
    • Open build/index.html
  • Watch files continuously, rebuild incrementally, whenever one of them changes:
    • npm run watch
    • Open build/index.html, manually reload page in browser whenever there was a change
  • Hot reloading via webpack dev server:
    • npm start
    • Go to http://localhost:8080/, page reloads automatically when there are changes

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.4%
  • HTML 15.6%