Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

webpack: Improve comment about devtool.

Anders Kaseorgf628282c9ecf
diff --git a/webpack.config.ts b/webpack.config.ts
index 25a9f3afc6e..269af93957b 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -184,11 +184,9 @@ export default (env?: string): webpack.Configuration[] => {
resolve: {
extensions: [".ts", ".js"],
},
- // We prefer cheap-module-source-map over any eval-** options
- // because the eval-options currently don't support being
- // source mapped in error stack traces
- // We prefer it over eval since eval has trouble setting
- // breakpoints in chrome.
+ // We prefer cheap-module-source-map over any eval-* options
+ // because stacktrace-gps doesn't currently support extracting
+ // the source snippets with the eval-* options.
devtool: production ? "source-map" : "cheap-module-source-map",
optimization: {
minimizer: [