Skip to content

Exploring async/await using TypeScript targeting ES6 and bundled using Webpack

License

Notifications You must be signed in to change notification settings

rob3c/poc-webpack-typescript-async-await

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cae44bd · Mar 14, 2016

History

3 Commits
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016
Mar 14, 2016

Repository files navigation

This project explores async/await with TypeScript targeting ES6 and bundled using Webpack.

I used Node v4.4.0 in order for for...of to work when iterating the array in the demo, but Node v0.12 can be used with the --harmony flag for just the basic async/await functionality (TS targeting ES6 uses generators to polyfill them).

Unfortunately, we still need Babel to transpile the ES6 code TypeScript creates, because Webpack still expects commonjs modules. I tried to create the minimal configuration to support this. Maybe I'll update it to use the Webpack 2 beta someday :-)

About

Exploring async/await using TypeScript targeting ES6 and bundled using Webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published