mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 19:26:33 +00:00
Add source maps for devtools
Change-type: patch Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
parent
fdaf5c69d6
commit
53f53c0f75
@ -354,6 +354,7 @@ const guiConfig = {
|
|||||||
entry: {
|
entry: {
|
||||||
gui: path.join(__dirname, 'lib', 'gui', 'app', 'renderer.ts'),
|
gui: path.join(__dirname, 'lib', 'gui', 'app', 'renderer.ts'),
|
||||||
},
|
},
|
||||||
|
// entry: path.join(__dirname, 'lib', 'gui', 'app', 'renderer.ts'),
|
||||||
plugins: [
|
plugins: [
|
||||||
...commonConfig.plugins,
|
...commonConfig.plugins,
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
|
@ -10,6 +10,8 @@ const [
|
|||||||
|
|
||||||
configs.forEach((config) => {
|
configs.forEach((config) => {
|
||||||
config.mode = 'development';
|
config.mode = 'development';
|
||||||
|
// @ts-ignore
|
||||||
|
config.devtool = 'source-map';
|
||||||
});
|
});
|
||||||
|
|
||||||
guiConfig.devServer = {
|
guiConfig.devServer = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user