diff --git a/webpack-desktop.config.js b/webpack-desktop.config.js index 50da85162..0742af928 100644 --- a/webpack-desktop.config.js +++ b/webpack-desktop.config.js @@ -10,5 +10,6 @@ module.exports = { path: path.resolve(__dirname, 'src/public/app-dist'), filename: 'desktop.js' }, - devtool: 'source-map' -}; \ No newline at end of file + devtool: 'source-map', + target: 'electron-main' +}; diff --git a/webpack-mobile.config.js b/webpack-mobile.config.js index 370afe252..d96c99e28 100644 --- a/webpack-mobile.config.js +++ b/webpack-mobile.config.js @@ -10,5 +10,6 @@ module.exports = { path: path.resolve(__dirname, 'src/public/app-dist'), filename: 'mobile.js' }, - devtool: 'source-map' -}; \ No newline at end of file + devtool: 'source-map', + target: 'electron-main' +}; diff --git a/webpack-setup.config.js b/webpack-setup.config.js index 3b370bf57..01cb70d41 100644 --- a/webpack-setup.config.js +++ b/webpack-setup.config.js @@ -10,5 +10,6 @@ module.exports = { path: path.resolve(__dirname, 'src/public/app-dist'), filename: 'setup.js' }, - devtool: 'source-map' -}; \ No newline at end of file + devtool: 'source-map', + target: 'electron-main' +};