mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
* chore(build): add a script to run the ts compiler and send the new files to closure compiler * chore(build): clean up tsconfig * chore: apply suggestions from code review Cleanup from Chris Co-authored-by: Christopher Allen <cpcallen+github@gmail.com> Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>
26 lines
630 B
JSON
26 lines
630 B
JSON
{
|
|
"include": [
|
|
"core/**/*",
|
|
"closure/goog/base_minimal.js",
|
|
],
|
|
"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",
|
|
|
|
"outDir": "build/ts",
|
|
"module": "ES2015",
|
|
"moduleResolution": "node",
|
|
"target": "ES2020",
|
|
"strict": true,
|
|
}
|
|
}
|