Skip to content

Commit

Permalink
fix(backend): Better stack trace paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Aug 25, 2024
1 parent 07ab752 commit c54fde2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/backend/webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c54fde2

Please sign in to comment.