mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03:00
add Attach to Browser debug config (#6456)
Signed-off-by: Evgenii Rechkalov <snorkysnark@gmail.com>
This commit is contained in:
parent
8da14bb5d7
commit
069c69b7db
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@ -411,6 +411,16 @@
|
|||||||
"runtimeVersion": "20",
|
"runtimeVersion": "20",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"cwd": "${workspaceRoot}/services/telegram-bot/pod-telegram-bot"
|
"cwd": "${workspaceRoot}/services/telegram-bot/pod-telegram-bot"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"type": "chrome",
|
||||||
|
"name": "Attach to Browser",
|
||||||
|
"request": "attach",
|
||||||
|
"urlFilter": "http://localhost:8080/*",
|
||||||
|
"port": 9222,
|
||||||
|
"sourceMapPathOverrides": {
|
||||||
|
"webpack://*": "${workspaceFolder}/*",
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ module.exports = [
|
|||||||
options: {
|
options: {
|
||||||
target: 'es2021',
|
target: 'es2021',
|
||||||
keepNames: true,
|
keepNames: true,
|
||||||
minify: !prod,
|
minify: prod,
|
||||||
sourcemap: !prod
|
sourcemap: !prod
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +148,7 @@ module.exports = [
|
|||||||
options: {
|
options: {
|
||||||
target: 'es2021',
|
target: 'es2021',
|
||||||
keepNames: true,
|
keepNames: true,
|
||||||
minify: !prod,
|
minify: prod,
|
||||||
sourcemap: true
|
sourcemap: true
|
||||||
},
|
},
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
|
Loading…
Reference in New Issue
Block a user