Created
November 17, 2017 11:23
-
-
Save vsharper/14aec7c29a4bf1265a7bb6168723fc6e to your computer and use it in GitHub Desktop.
example tsconfig.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
"module": "system", | |
"noImplicitAny": true, | |
"removeComments": true, | |
"preserveConstEnums": true, | |
"outFile": "./js/final.js", | |
"sourceMap": true | |
}, | |
"include": [ | |
"src/**/*" | |
], | |
"exclude": [ | |
"node_modules", | |
"**/*.spec.ts", | |
"lib", | |
"js" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requires system.js (
npm install systemjs
)compile all
ts
files to a single js file in/js/final.js
create source map for final.js (
/js/final.js.map
)will compile all files in
/src/
will exclude
node_modules, **/*.spec.ts, lib and js
folders