editor.js/tsconfig.json
2025-11-15 03:13:55 +03:00

41 lines
1 KiB
JSON

{
"compilerOptions" : {
"strict": true,
"sourceMap": true,
"target": "es2017",
"declaration": false,
"module": "esnext",
"moduleResolution": "bundler", // This resolution strategy handles package.json exports and is suitable for modern bundlers
"lib": ["dom", "es2017", "es2018", "es2019"],
"allowJs": true,
// allows to import .json files for i18n
"resolveJsonModule": true,
// allows to omit export default in .json files
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"baseUrl": "./",
"paths": {
"@/types": [ "./types/" ],
"@/types/*": [ "./types/*" ],
"@editorjs/editorjs": [ "./types" ],
"@editorjs/editorjs/*": [ "./types/*" ],
},
"esModuleInterop": true,
"skipLibCheck": true,
"allowArbitraryExtensions": true,
"noEmit": true
},
"include": [
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.json",
"vite.config*.mjs"
],
"exclude": [
"dist",
"node_modules"
]
}