Chris
Chris

Reputation: 1059

Setting Typescript --module compiler option in WebEssentials?

I am unable to install Typescript on Vis Studio 2012. It says it's installed, but there's no Add-in or Extension. Luckily, Web Essentials will compile Typescript. These are very nice products.

I want to generate a Typescript external module (for AMD) but there's no place to set the --module option. Web Essentials has options, but they're all True/False. And since the VSIX doesn't install I have no Build rules to modify.

If I add a Typescript 'export' I get: TS5037: Cannot compile external modules unless the '--module' flag is provided.

Is there someplace I can control Web Essentials compiler options from?? For that matter, I can't ever find documentation on compiler options.

Thanks

Upvotes: 1

Views: 1321

Answers (1)

basarat
basarat

Reputation: 276255

Tools - options - webessentials - typescript - module : amd

Having said that I rely on grunt to do my compilation : https://github.com/basarat/grunt-ts

Upvotes: 1

Related Questions