mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 19:16:10 +00:00
Change debugging option for vscode users (#1005)
This commit is contained in:
parent
5272bdacd5
commit
82d7156295
@ -281,8 +281,8 @@ module.exports = function(opts = {}) {
|
||||
// ====================
|
||||
let devtool = false;
|
||||
if (!options.isProduction) {
|
||||
if (process.env.SLOW_BUILD_SPEED) {
|
||||
devtool = 'source-map';
|
||||
if (process.env.VSCODE_DEBUG) {
|
||||
devtool = 'cheap-module-source-map';
|
||||
} else {
|
||||
devtool = 'cheap-module-eval-source-map';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user