summaryrefslogtreecommitdiff
path: root/test/application/webpack.config.js
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-08-20 11:38:39 +0300
committerValentin Popov <info@valentineus.link>2019-08-20 11:38:39 +0300
commit419f48c18d84ba3516124571ad8134bf304e65ab (patch)
treeae09d4cd491815061d84c61ea6b62bf89b098ff4 /test/application/webpack.config.js
parent809a5efb9db4284b0124c75fbaec34d3dd22e7bc (diff)
downloadelectron-hot-reload-419f48c18d84ba3516124571ad8134bf304e65ab.tar.xz
electron-hot-reload-419f48c18d84ba3516124571ad8134bf304e65ab.zip
Added Renderer reloader
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'test/application/webpack.config.js')
-rw-r--r--test/application/webpack.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/application/webpack.config.js b/test/application/webpack.config.js
index c1d23e8..6203400 100644
--- a/test/application/webpack.config.js
+++ b/test/application/webpack.config.js
@@ -13,6 +13,10 @@ const mainConfig = {
path: path.resolve(__dirname, 'dist'),
filename: '[name].js'
},
+ node: {
+ __dirname: true,
+ __filename: true
+ },
plugins: [
new CleanWebpackPlugin()
],