TypeScript + RequireJS sample configuration
http://typescript.codeplex.com/wikipage?title=Modules%20in%20TypeScript
If you build the project in Visual Studio or run grunt
without parameters, you'll have the compiled JS in the compiled
folder. Open default.htm
in the browser to see this configuration in action.
grunt rjs
Open rjs.htm
in the browser to see this configuration in action.
3. Stand-alone one-file bundle (uses Almond)
grunt almond
Open almond.htm
in the browser to see this configuration in action.
Related open issues (basicly, it's the same issue):