Skip to content

Instantly share code, notes, and snippets.

View johnhearfield's full-sized avatar

John Hearfield johnhearfield

  • United Kingdom
View GitHub Profile
@johnhearfield
johnhearfield / CodeTemplates|tsconfig.json
Created September 14, 2020 20:34
Visual Studio Code Settings Sync Gist
{{#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": [