Webpack: Cannot find module: edge_nativeclr
harunrst opened this issue · comments
Please take a look at webpack packaging examples here: agracio/electron-edge-js#39
You need to specify edge-js
as external package similar to the code below:
externals: {
'edge-js': 'commonjs2 edge-js',
},
node: {
__dirname: true,
__filename: true,
},
thanks for the rapid response! it resolved my issue :)