diff --git a/apps/backend/webpack.config.cjs b/apps/backend/webpack.config.cjs index 82294fba..a404b288 100644 --- a/apps/backend/webpack.config.cjs +++ b/apps/backend/webpack.config.cjs @@ -19,7 +19,10 @@ module.exports = composePlugins(withNx(), (config) => { }, environment: { module: true - } + }, + // https://tabris.com/how-to-make-stack-traces-clickable-in-vs-code-when-using-webpack/ + devtoolModuleFilenameTemplate: '../[resource-path]', + devtoolFallbackModuleFilenameTemplate: '[absolute-resource-path]', }, experiments: { outputModule: true,