From 75e5f28e3cd0e7d71a7ad13772164cf9d392fef1 Mon Sep 17 00:00:00 2001 From: Oleksii Kurinnyi Date: Wed, 11 Oct 2023 11:24:16 +0300 Subject: [PATCH] fixup! chore: use absolute paths for imports --- packages/dashboard-frontend/webpack.config.common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dashboard-frontend/webpack.config.common.js b/packages/dashboard-frontend/webpack.config.common.js index 9e5b1ae94..28226fb9c 100644 --- a/packages/dashboard-frontend/webpack.config.common.js +++ b/packages/dashboard-frontend/webpack.config.common.js @@ -98,8 +98,8 @@ const config = { resolve: { extensions: ['.js', '.ts', '.tsx'], alias: { - 'vscode-languageserver-protocol/lib/utils/is': 'vscode-languageserver-protocol/lib/common/utils/is', - 'vscode-languageserver-protocol/lib/main': 'vscode-languageserver-protocol/lib/node/main', + // alias for absolute imports (see tsconfig.json) + '@': path.resolve(__dirname, 'src/'), }, fallback: { "fs": false,