Skip to content

Compiling via the Command Line

GlitchEnzo edited this page Jun 4, 2014 · 1 revision

tsc --out Vapor.js Vapor.ts -t ES5

tsc : TypeScript Compiler

--out Vapor.js : Output the JavaScript to a single file (Vapor.js)

-t ES5 : Target ECMAScript 5 for the JavaScript output (defaults to ES3)

ES5 is needed for properties and other features