mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
- Change shared-schema tsconfig to use bundler moduleResolution - Remove .js extensions from imports (incompatible with bundler mode) - Fix tsconfig.spec.json to include both package path mappings The shared-schema package was using NodeNext module resolution which requires .js extensions in imports. Since the main Angular project uses bundler resolution and imports directly from source files, this caused webpack to fail finding the modules during tests.
21 lines
518 B
JSON
21 lines
518 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "preserve",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2022"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "tests"]
|
|
}
|