How to solve module.id should be a string error using webpack2
So here's what I came up to live with that dependency for now. Use string replace loader to remove that line for me:
{
test: /.*node_modules\/my-dependency-folder\/.*\.js/,
loader: 'string-replace-loader',
query: {
search: 'moduleId: module.id,',
replace: ''
}
}
Hope this helps somebody with the same issue.