mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 19:26:33 +00:00
generate sourcemap as part of the build
This commit is contained in:
parent
fa5cd5d988
commit
21e70ca3a4
@ -138,7 +138,8 @@ const translation = {
|
||||
autoUpdate: 'Auto-updates enabled',
|
||||
settings: 'Settings',
|
||||
systemInformation: 'System Information',
|
||||
trimExtPartitions: 'Trim unallocated space on raw images (in ext-type partitions)',
|
||||
trimExtPartitions:
|
||||
'Trim unallocated space on raw images (in ext-type partitions)',
|
||||
},
|
||||
menu: {
|
||||
edit: 'Edit',
|
||||
|
@ -16,13 +16,11 @@
|
||||
"declarationMap": true,
|
||||
"pretty": true,
|
||||
"sourceMap": true,
|
||||
"inlineSourceMap": true,
|
||||
"baseUrl": "./src",
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"allowJs": true
|
||||
},
|
||||
"include": [
|
||||
"lib/**/*.ts",
|
||||
"node_modules/electron/**/*.d.ts"
|
||||
]
|
||||
"include": ["lib/**/*.ts", "node_modules/electron/**/*.d.ts"]
|
||||
}
|
||||
|
@ -455,6 +455,7 @@ const guiConfig = {
|
||||
const mainConfig = {
|
||||
...commonConfig,
|
||||
target: 'electron-main',
|
||||
devtool: 'source-map',
|
||||
node: {
|
||||
__dirname: false,
|
||||
__filename: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user