rthomas320 commented on code in PR #1197:
URL: https://github.com/apache/daffodil-vscode/pull/1197#discussion_r1984854430
##########
package.json:
##########
@@ -36,7 +36,7 @@
"watch:svelte": "yarn webpack --env development=true -w -c
./src/svelte/webpack.config.js",
"watch:svelte-tests": "mocha -r ts-node/register -w
./src/svelte/tests/**/*.test.ts",
"watch:tdmlEditorJS": "esbuild src/tdmlEditor/webview/webview.js
--outfile=dist/views/tdmlEditor/webview/webview.js --bundle --platform=node
--format=cjs --watch",
- "webpack": "webpack --mode production --config
./webpack/ext-dev.webpack.config.js",
+ "webpack": "webpack --mode development --config
./webpack/ext-dev.webpack.config.js",
Review Comment:
When debugging typescript code, hovering over variable to see their value
doesn't work when webpack mode is set to production. Also variable names in the
debug pane show as a, b, c, etc. instead of their actual name when webpack is
set to production.
https://stackoverflow.com/questions/55869571/webpack-with-sourcemap-cant-resolve-variables-in-production-mode
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]