diff --git a/projects/aas-core/tsconfig.json b/projects/aas-core/tsconfig.json index 6f08003..d31d791 100644 --- a/projects/aas-core/tsconfig.json +++ b/projects/aas-core/tsconfig.json @@ -8,6 +8,8 @@ "emitDecoratorMetadata": true, "alwaysStrict": true, "useUnknownInCatchVariables": false, + "moduleResolution": "bundler", + "module": "ES2022", "lib": [ "ES2022" ] diff --git a/projects/aas-lib/tsconfig.json b/projects/aas-lib/tsconfig.json index 6c52cc3..6a80365 100644 --- a/projects/aas-lib/tsconfig.json +++ b/projects/aas-lib/tsconfig.json @@ -7,6 +7,8 @@ "noFallthroughCasesInSwitch": true, "declaration": false, "importHelpers": true, + "moduleResolution": "bundler", + "module": "ES2022", "lib": [ "ES2022", "dom" diff --git a/projects/aas-portal/tsconfig.json b/projects/aas-portal/tsconfig.json index fbf99a7..82bab30 100644 --- a/projects/aas-portal/tsconfig.json +++ b/projects/aas-portal/tsconfig.json @@ -7,6 +7,8 @@ "noFallthroughCasesInSwitch": true, "declaration": false, "importHelpers": true, + "moduleResolution": "bundler", + "module": "ES2022", "lib": [ "ES2022", "dom" diff --git a/projects/aas-server/jest.config.ts b/projects/aas-server/jest.config.ts index 59905b5..0fc1e4c 100644 --- a/projects/aas-server/jest.config.ts +++ b/projects/aas-server/jest.config.ts @@ -21,7 +21,6 @@ const config: Config = { 'ts-jest', { useESM: true, - tsconfig: '/tsconfig.json', babelConfig: { plugins: ['@babel/plugin-syntax-import-attributes'], }, diff --git a/projects/fhg-jest/tsconfig.json b/projects/fhg-jest/tsconfig.json index 6f08003..d31d791 100644 --- a/projects/fhg-jest/tsconfig.json +++ b/projects/fhg-jest/tsconfig.json @@ -8,6 +8,8 @@ "emitDecoratorMetadata": true, "alwaysStrict": true, "useUnknownInCatchVariables": false, + "moduleResolution": "bundler", + "module": "ES2022", "lib": [ "ES2022" ] diff --git a/tsconfig.json b/tsconfig.json index 806900b..47a11e5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,8 +14,6 @@ "resolveJsonModule": true, "allowSyntheticDefaultImports": true, "esModuleInterop": true, - "moduleResolution": "bundler", - "module": "ES2022" }, "ts-node": { "esm": true