Chore: Replace ts-loader in e2e and input-datasource (#76872)

* build(npm): remove ts-loader from core and input-datasource

* build(input-datasource): update webpack config to use swc-loader

* chore(e2e): replace ts-loader with esbuild-loader
This commit is contained in:
Jack Westbrook
2023-10-23 10:45:22 +02:00
committed by GitHub
parent 580a4cac58
commit 964c011822
5 changed files with 24 additions and 42 deletions

View File

@@ -70,7 +70,20 @@ const config = async (env: Record<string, string>): Promise<Configuration> => ({
exclude: /(node_modules)/,
test: /\.[tj]sx?$/,
use: {
loader: 'ts-loader',
loader: 'swc-loader',
options: {
jsc: {
baseUrl: '.',
target: 'es2015',
loose: false,
parser: {
syntax: 'typescript',
tsx: true,
decorators: false,
dynamicImport: true,
},
},
},
},
},
{