From 2e610c13b6ebe6c79b74f9d36b40fc90ea016e8d Mon Sep 17 00:00:00 2001 From: Roman Krejcik Date: Thu, 18 Nov 2021 20:35:33 +0100 Subject: [PATCH] fix fsevents build issue --- src/renderer/nuxt.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/nuxt.config.js b/src/renderer/nuxt.config.js index f720170e..db2e8090 100644 --- a/src/renderer/nuxt.config.js +++ b/src/renderer/nuxt.config.js @@ -81,6 +81,11 @@ module.exports = { test: /\.ohm$/i, loader: 'raw-loader' }) + + // https://github.com/yan-foto/electron-reload/issues/71 + config.externals = { + fsevents: "require('fsevents')" + } } } }