Skip to content

Commit

Permalink
chokidarのビルド改善
Browse files Browse the repository at this point in the history
ERROR in ./node_modules/fsevents/fsevents.node 1:0
Module parse failed: Unexpected character '�' (1:0)

yan-foto/electron-reload#71
  • Loading branch information
nakahashi committed Mar 17, 2023
1 parent 4c899f4 commit ec3d6d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ module.exports = {
}
}
]
},
externals: {
fsevents: "require('fsevents')"
}
};

0 comments on commit ec3d6d2

Please sign in to comment.