diff options
author | Andrei Gavrilescu <andrei.gavrilescu@8x8.com> | 2020-04-07 12:55:54 +0300 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2020-04-07 14:30:36 +0200 |
commit | 81d7aca4b2cec072c6de0ab2d9b0a5d427780b3c (patch) | |
tree | f7f6385712b95781551e8cd1f0fc6a03e494ab3c /webpack.renderer.js | |
parent | 08d53c135e63434d38e3bb8ad02f112a58e0bbfb (diff) |
fix security issue / update deps
Diffstat (limited to 'webpack.renderer.js')
-rw-r--r-- | webpack.renderer.js | 4 |
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({ |