aboutsummaryrefslogtreecommitdiff
path: root/webpack.renderer.js
diff options
context:
space:
mode:
authorAndrei Gavrilescu <andrei.gavrilescu@8x8.com>2020-04-07 12:55:54 +0300
committerSaúl Ibarra Corretgé <s@saghul.net>2020-04-07 14:30:36 +0200
commit81d7aca4b2cec072c6de0ab2d9b0a5d427780b3c (patch)
treef7f6385712b95781551e8cd1f0fc6a03e494ab3c /webpack.renderer.js
parent08d53c135e63434d38e3bb8ad02f112a58e0bbfb (diff)
fix security issue / update deps
Diffstat (limited to 'webpack.renderer.js')
-rw-r--r--webpack.renderer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webpack.renderer.js b/webpack.renderer.js
index 79f8608..4bef0d1 100644
--- a/webpack.renderer.js
+++ b/webpack.renderer.js
@@ -4,7 +4,9 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const ELECTRON_VERSION = require('./package.json').devDependencies.electron;
module.exports = {
- target: 'electron-renderer',
+ // The renderer code rus in BrowserWindow without node support so we must
+ // target a web platform.
+ target: 'web',
entry: { app: './app/index.js' },
plugins: [
new HtmlWebpackPlugin({