Skip to content
/ tsfoo Public
forked from jiashiwang/tsfoo

TypeScript + RequireJS sample configuration

Notifications You must be signed in to change notification settings

APrasser/tsfoo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tsfoo

TypeScript + RequireJS sample configuration

Introduction

https://github.com/microsoft/typeScript/wiki/Modules

Configurations

1. Modules are dynamically loaded by RequireJS

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.

2. Modules are combined into one file and loaded by RequireJS

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.

See also

Related open issues:

About

TypeScript + RequireJS sample configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published