Play sample here
- Using nodejs and npm
- Run the
npm install
to install dependencies - Run the
npm run dev
to run the development server to test out changes- Webpack will build the typescript into javascript
- Webpack dev server will host the script in a little server on http://localhost:9000/
- Run
npm run build:dev
to produce javascript bundles for debugging in thedist/
folder - Run
npm run build:prod
to produce javascript bundles for production (minified) in thedist/
folder