AMD (Browser)
RequireJS
VS
CommonJS (Server)
Nodejs
Recap
- Merge all our TypeScript into a single file --out
- Internal Modules and module keyword
- External Modules
- AMD --module "amd"
- CommonJS --module "commonjs"
Javscript File A
loads
Javascript file B
Made with Slides.com