Open LoganDark opened 2 years ago
It would be great if it could be merged. For now, this workaround works for me:
Add this to webpack.config.js
:
module.exports = {
resolve: {
alias: {
'./build/Release/fs-ext': './build/Release/fs-ext.node'
}
}
}
Leaving out the
.node
extension leaves Webpack confused on which loader to use. Adding it back allows Webpack to recognize this module correctly as a native one.