Skip to content

Commit

Permalink
Fix: osxでビルドするときに出ていたエラーを修正
Browse files Browse the repository at this point in the history
yan-foto/electron-reload#71 を参考にした
  • Loading branch information
Kotaro7750 committed Jan 19, 2022
1 parent cb80c0c commit ee65dd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ const common: Configuration = {
}
]
},
externals: {
fsevents: "require('fsevents')"
},

watch: isDev,
devtool: isDev ? 'inline-source-map' : undefined
Expand Down

0 comments on commit ee65dd2

Please sign in to comment.