woocommerce/tsconfig.base.json

41 lines
1.0 KiB
JSON
Raw Normal View History

{
"compilerOptions": {
// Target the latest version of ECMAScript.
"target": "esnext",
"module": "esnext",
// Support incremental project builds in the compiler.
"composite": true,
"incremental": true,
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Support vanilla JavaScript and type-check it.
"allowJs": true,
"checkJs": true,
// Ensures all modules are compatible with ES6 import syntax.
"esModuleInterop": true,
// Allow JSON files to be imported as objects.
"resolveJsonModule": true,
// Support mapping transpiled files back to source files.
"sourceMap": true,
"declarationMap": true,
// Enable all of the strict type checks.
"strict": true,
// Warn developers when they write code incompatible with some build tools.
"isolatedModules": true
},
// Make sure we don't transpile any test files.
"exclude": [
"**/__test_data__/*",
"**/__tests__/*",
"**/__mocks__/*",
]
}