mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Disable sourcemaps in dev
This commit is contained in:
@@ -14,7 +14,8 @@ const isProd = process.argv.some(argv => argv === '-prod' || argv === '--prod');
|
||||
const nodeDefaults = {
|
||||
platform: 'node',
|
||||
target: 'esnext',
|
||||
sourcemap: isProd ? false : 'inline',
|
||||
// Disabled even in dev because the debugger is broken
|
||||
sourcemap: false,
|
||||
// Otherwise React components get renamed
|
||||
// See: https://github.com/evanw/esbuild/issues/1147
|
||||
keepNames: true,
|
||||
|
||||
Reference in New Issue
Block a user