ahmadawais / create-guten-block

📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
https://Awais.dev/cgb-post
MIT License
3.15k stars 327 forks source link

How to add/load plugins in webpack.config.dev.js #262

Open aneelmaharjan opened 4 years ago

aneelmaharjan commented 4 years ago

Can you please tell me how to add lodash-webpack-plugin in web pack config js. Because i'm facing following issue “this.activateMode is not a function” Error in Gutenberg. In google research(i.e https://wpdevelopment.courses/articles/how-to-fix-activatemode-is-not-a-function-error-in-gutenberg/) it shows that i need to add lodash-webpack-plugin.

I don't know this is correct solution or not. If there is any other solution please let me know