node-fs-ext
node-fs-ext copied to clipboard
Fix compatibility with webpack
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.
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'
}
}
}