fix webpack build

This commit is contained in:
zadam 2021-12-23 23:01:25 +01:00
parent da050c6369
commit f0217cae5e
3 changed files with 9 additions and 6 deletions

View file

@ -10,5 +10,6 @@ module.exports = {
path: path.resolve(__dirname, 'src/public/app-dist'),
filename: 'desktop.js'
},
devtool: 'source-map'
};
devtool: 'source-map',
target: 'electron-main'
};

View file

@ -10,5 +10,6 @@ module.exports = {
path: path.resolve(__dirname, 'src/public/app-dist'),
filename: 'mobile.js'
},
devtool: 'source-map'
};
devtool: 'source-map',
target: 'electron-main'
};

View file

@ -10,5 +10,6 @@ module.exports = {
path: path.resolve(__dirname, 'src/public/app-dist'),
filename: 'setup.js'
},
devtool: 'source-map'
};
devtool: 'source-map',
target: 'electron-main'
};