mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-30 02:28:53 +00:00
836f6ab754
This means that dynamic import statements will emit actual `import` statements rather than being translated to `require`, the benefit being that we can now import ES modules via dynamic imports Change-type: patch
25 lines
572 B
JSON
25 lines
572 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"target": "ES2021",
|
|
"module": "commonjs",
|
|
"moduleResolution": "Node16",
|
|
"strict": true,
|
|
"strictFunctionTypes": false,
|
|
"strictPropertyInitialization": false,
|
|
"preserveConstEnums": true,
|
|
"inlineSourceMap": true,
|
|
"outDir": "./build/",
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"allowJs": true,
|
|
"paths": {
|
|
"~/src/*": ["src/*"],
|
|
"~/lib/*": ["src/lib/*"],
|
|
"~/test-lib/*": ["test/lib/*"],
|
|
"~/test-data/*": ["test/data/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*", "test/**/*", "typings/**/*.d.ts"]
|
|
}
|