From 5f2ef36e63bdfbcc6c488cf14f2a445e85c29987 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Fri, 19 Jan 2024 09:18:48 +0000 Subject: [PATCH] Chore: make `baseDir` absolute in grafana-plugin-config (#80826) make baseDir absolute --- packages/grafana-plugin-configs/webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-plugin-configs/webpack.config.ts b/packages/grafana-plugin-configs/webpack.config.ts index 67ada26051b..3b53e20553a 100644 --- a/packages/grafana-plugin-configs/webpack.config.ts +++ b/packages/grafana-plugin-configs/webpack.config.ts @@ -90,7 +90,7 @@ const config = async (env: Record): Promise => { loader: require.resolve('swc-loader'), options: { jsc: { - baseUrl: '.', + baseUrl: path.resolve(__dirname), target: 'es2015', loose: false, parser: {