generate sourcemap as part of the build

This commit is contained in:
Edwin Joassart 2023-01-09 13:40:44 +01:00
parent fa5cd5d988
commit 21e70ca3a4
3 changed files with 5 additions and 5 deletions

View File

@ -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',

View File

@ -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"]
}

View File

@ -455,6 +455,7 @@ const guiConfig = {
const mainConfig = {
...commonConfig,
target: 'electron-main',
devtool: 'source-map',
node: {
__dirname: false,
__filename: true,