Files
blockly/tsconfig.json
2022-07-08 18:15:47 +00:00

31 lines
817 B
JSON

{
"include": [
"core/**/*", // N.B.: also pulls in closure/goog/goog.js if needed.
"closure/**/*", // Just for ouptut directory structure.
],
"exclude": [
"core/blockly.js",
"core/internal.ts"
],
"compilerOptions": {
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": true,
// Enable the next few options for type declarations.
// Generate d.ts files
//"declaration": true,
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
//"declarationDir": "build/ts/declarations",
"module": "ES2022",
"moduleResolution": "node",
"target": "ES2020",
"strict": true,
// "importsNotUsedAsValues": "preserve"
"outDir": "build"
}
}