lodash/lodash-webpack-plugin

Cannot read property 'call' of undefined

Igor-Vuk opened this issue · 1 comments

I am getting this error as soon as I include this plugin inside webpack configuration. I am using it in combination with babel-plugin-lodash.

This are the only two thing that I putted inside webpack config regarding this plugin.

const LodashModuleReplacementPlugin = require('lodash-webpack-plugin')
new LodashModuleReplacementPlugin()

Hi @Igor-Vuk!

Keep digging. I cannot repro. We have unit tests and I just recently used this plugin on my own over the weekend (so can confirm it does work).