Skip to content

youngj1805/webpack2-typescript-babel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack 2 + TypeScript 2 + Babel example

Incrementally builds and bundle your source files + outputs a fully es5 compliant JavaScript code!

Webpack is configured to mutualize common module code in a commons file and vendor in another!

Prerequisits

npm install -g webpack@2.2.1

Build

npm install
webpack --progress --watch

Some warnings are printed but they're harmless. Check that the js/index.js and js/vendor.js have correctly been generated.

Test it

Open index.html in your browser and watch console

About

webpack 2 + TypeScript 2 + Babel basic example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 46.1%
  • JavaScript 44.1%
  • HTML 9.8%