diff --git a/configs/webpack.config.js b/configs/webpack.config.js index 1503c3922..cb9ebdcba 100644 --- a/configs/webpack.config.js +++ b/configs/webpack.config.js @@ -43,9 +43,8 @@ module.exports = { { loader: 'esbuild-loader', options: { - loader: 'tsx', target: 'es2017', - tsconfigRaw: require(path.resolve(process.cwd(), 'tsconfig.build.json')), + tsconfig: 'tsconfig.build.json', }, }, ],