mirror of
https://github.com/directus/directus.git
synced 2026-02-13 12:15:11 -05:00
* Fix bundles The problem was coming from rollup building only for browsers. The solution is to specify build for browsers and Node.js. This configuration is inherited from format-title package, but with the slight difference that exports .mjs files * fix types folder
34 lines
862 B
JSON
34 lines
862 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2015",
|
|
"lib": ["ES2015", "DOM"],
|
|
"module": "es2015",
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"declarationDir": "dist/types",
|
|
"declarationMap": true,
|
|
"strict": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedParameters": true,
|
|
"alwaysStrict": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"resolveJsonModule": false,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"isolatedModules": true,
|
|
"rootDir": "./src",
|
|
"outDir": "./dist"
|
|
},
|
|
"include": ["./src/**/*.ts"]
|
|
}
|