Skip to content

Instantly share code, notes, and snippets.

Avatar

John Hearfield johnhearfield

  • United Kingdom
View GitHub Profile
@johnhearfield
johnhearfield / CodeTemplates|tsconfig.json
Created Sep 14, 2020
Visual Studio Code Settings Sync Gist
View CodeTemplates|tsconfig.json
{{#def.select('MODULE', 'Specify module code generation', ['none','commonjs','amd','system','umd','es6','es2015','esnext'])}}
{{#def.select('TARGET', 'Specify ECMAScript target version', ['es3','es6','es2016','es2017','esnext'])}}
{{#def.confirm('SOURCE_MAP', 'Should generate corresponding .map file?')}}
{
"compilerOptions": {
"module": "{{=$.MODULE}}",
"target": "{{=$.TARGET}}",
"sourceMap": {{=$.SOURCE_MAP}}
},
"exclude": [