diff --git a/REUSE.toml b/REUSE.toml index 249358c752..5ea62877d1 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -24,7 +24,7 @@ SPDX-FileCopyrightText = "2020-2024 Nextcloud translators" SPDX-License-Identifier = "AGPL-3.0-or-later" [[annotations]] -path = ["tsconfig.json", "tsconfig.webpack.json", "cypress/tsconfig.json", "tests/tsconfig.json"] +path = ["tsconfig.json", "cypress/tsconfig.json", "tests/tsconfig.json"] precedence = "aggregate" SPDX-FileCopyrightText = "2022-2024 Nextcloud GmbH and Nextcloud contributors" SPDX-License-Identifier = "CC0-1.0" diff --git a/tsconfig.json b/tsconfig.json index 90201cee16..62fd35358a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "include": ["./src/**/*.ts"], "exclude": ["./src/**/*.cy.ts"], "compilerOptions": { + "allowImportingTsExtensions": true, "allowSyntheticDefaultImports": true, "moduleResolution": "Bundler", "target": "ESNext", diff --git a/tsconfig.webpack.json b/tsconfig.webpack.json deleted file mode 100644 index b9471fedc3..0000000000 --- a/tsconfig.webpack.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "noEmit": false, - } -} \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index f42b25ba37..5c92f3a082 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -45,12 +45,6 @@ webpackRules.RULE_TS = { test: /\.tsx?$/, use: [ 'babel-loader', - { - loader: 'ts-loader', - options: { - configFile: 'tsconfig.webpack.json', - }, - }, ], }