mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-27 13:16:36 +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',
|
autoUpdate: 'Auto-updates enabled',
|
||||||
settings: 'Settings',
|
settings: 'Settings',
|
||||||
systemInformation: 'System Information',
|
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: {
|
menu: {
|
||||||
edit: 'Edit',
|
edit: 'Edit',
|
||||||
|
@ -16,13 +16,11 @@
|
|||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
"pretty": true,
|
"pretty": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
"inlineSourceMap": true,
|
||||||
"baseUrl": "./src",
|
"baseUrl": "./src",
|
||||||
"noImplicitReturns": true,
|
"noImplicitReturns": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"allowJs": true
|
"allowJs": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["lib/**/*.ts", "node_modules/electron/**/*.d.ts"]
|
||||||
"lib/**/*.ts",
|
|
||||||
"node_modules/electron/**/*.d.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@ -455,6 +455,7 @@ const guiConfig = {
|
|||||||
const mainConfig = {
|
const mainConfig = {
|
||||||
...commonConfig,
|
...commonConfig,
|
||||||
target: 'electron-main',
|
target: 'electron-main',
|
||||||
|
devtool: 'source-map',
|
||||||
node: {
|
node: {
|
||||||
__dirname: false,
|
__dirname: false,
|
||||||
__filename: true,
|
__filename: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user