After installing the plugin via yarn, and importing it into my development.js config, I get this error TypeError: Cannot read property 'afterEmit' of undefined when I run webpack-dev-server --hot
I am using this plugin in a rails app using webpacker.
My webpacker version: "@rails/webpacker": "^3.5.3"
After installing the plugin via yarn, and importing it into my
development.js
config, I get this errorTypeError: Cannot read property 'afterEmit' of undefined
when I runwebpack-dev-server --hot
I am using this plugin in a rails app using webpacker.
My webpacker version: "@rails/webpacker": "^3.5.3"
And here's my
development.js
configDo I need to upgrade webpacker? Saw a similar issue over here for another plugin