1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 18:09:49 +02:00
Files
slate/site/tsconfig.example.json
Ravi Lamkoti 01dc30b81d Add Javascript Examples Support (#5722)
* chore: moved all ts files for examples to examples/ts

* add: tsc to eject js and jsx output

* example: add js transpiled examples

* example: update example site to show both js and ts code

* chore: fix yarn lint

* fix(example): getAllExamplesPath
2024-09-26 00:24:11 -07:00

22 lines
538 B
JSON

{
"compilerOptions": {
"target": "ESNext",
"lib": ["dom"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"downlevelIteration": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"rootDir": "./examples/ts",
"outDir": "./examples/js"
},
"include": ["examples/ts/**/*.ts", "examples/ts/**/*.tsx"]
}