TypeScript compiler support #3509
Replies: 6 comments
-
This will either TCS to be assumed as installed after review. Assuming that's installed, following a https://github.com/k-maru/grunt-typescript scheme should work. TypeScript(new TypeScriptSettings {
Source = "/src/UI/scripts/**/*.ts",
Destination = "/build/scripts/*.js".
// Should we do Options = new TypeScript options, or just have them as part of Settings?
}); TypeScript(settings => {
settings.Source("src/UI/scripts/**/*.ts");
settings.Destination("build/scripts/*.js");
settings.Module("AMD");
settings.SourceMap(true);
}); |
Beta Was this translation helpful? Give feedback.
-
I may chew on this for unrelated reasons. Adding an addendum that with the upcoming TS 1.5, there's now a tsconfig.json which can contain many of these settings. |
Beta Was this translation helpful? Give feedback.
-
Cool @RichiCoder1 I would suggest you start as an addin to try out the concept. |
Beta Was this translation helpful? Give feedback.
-
Absolutely. I've got something prototyped out. |
Beta Was this translation helpful? Give feedback.
-
Probably will grab this with my Node and NPM items. |
Beta Was this translation helpful? Give feedback.
-
I am stronly interested in this feature. Does anybody plan to implement this (soon)? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions