webpack and typescript

Webpack is a tool that allows us to bundle our code. Transform our typescript code into javascript, then emit 1 javascript bundle file.

Webpack-dev-server is a development server.

Set up a webpack project

go to tsconfig file.

“target”: “es6”
“module”:”2016″

touch webpack.config.js

webpack will automatically look for this file.