Config reference
javascript { host }
typescript { types noExplicitAny }
compiler { emitDir emitCode emitCodeLang emitSourceMaps }
dev { wipeEmitDir }
Top-level
Section titled “Top-level” srcDir
Source directory of your program
./src include
List of glob patterns to include in your program from the srcDir
{ "include": ["./src/**", "./tests/**"]}Directoryscripts ❌
- format.jsp ❌
- lint.jsp ❌
Directorysrc ✅
Directoryclient ✅
- index.jsp ✅
- utils.jsp ✅
- utils.ts ❌
Directoryserver ✅
- index.jsp ✅
- lsp.ts ❌
- index.jsp ✅
Directorytests ✅
- index.jsp ✅
- utils.jsp ✅
[./**] exclude
List of glob patterns to exclude when resolving include
[] javascript
Section titled “javascript”Configuration for JavaScript
host
Where will your JavaScript run. Can be Browser or Server
Browser typescript
Section titled “typescript”Configuration for TypeScript
types
TypeScript types field
[] noExplicitAny
compiler
Section titled “compiler”Configuration for the compilation process
emitDir
Directory to emit compiled JS+ files into
./dist emitCode
Emit compiled JS+
If set to false the JS+ compiler will check for syntax, semantic and type errors but not emit any code
true emitCodeLang
Language to compile JS+ into. Can be JavaScript or TypeScript
TypeScript emitSourceMaps
Emit source maps
false Configuration for development
wipeEmitDir
Wipe the emitDir before each compilation
false