Skip to content

Commit

Permalink
fix fsevents build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
farin committed Nov 18, 2021
1 parent 80673f9 commit 2e610c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/renderer/nuxt.config.js
Expand Up @@ -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')"
}
}
}
}

0 comments on commit 2e610c1

Please sign in to comment.