mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
chore(build): add a script to run the ts compiler and send the new files to closure compiler (#5894)
* 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>
This commit is contained in:
25
tsconfig.json
Normal file
25
tsconfig.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user