From dff0e33c30c10a166e3f45a4dec4843b7fee6973 Mon Sep 17 00:00:00 2001 From: Jack Westbrook Date: Fri, 19 Jan 2024 14:18:14 +0100 Subject: [PATCH] Webpack: Update bundled plugins SWC baseUrl (#80882) build(webpack): update config for swc.baseUrl --- plugins-bundled/internal/input-datasource/webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins-bundled/internal/input-datasource/webpack.config.ts b/plugins-bundled/internal/input-datasource/webpack.config.ts index f90c0a0c539..6f938cade38 100644 --- a/plugins-bundled/internal/input-datasource/webpack.config.ts +++ b/plugins-bundled/internal/input-datasource/webpack.config.ts @@ -73,7 +73,7 @@ const config = async (env: Record): Promise => ({ loader: 'swc-loader', options: { jsc: { - baseUrl: '.', + baseUrl: path.resolve(__dirname), target: 'es2015', loose: false, parser: {