However, when compiled and used, I am getting a bunch of excess dependencies in the frontend like lodash, react, react.dom and so on. Gutenberg does not output these dependencies in the frontend.
How to prevent outputting these dependencies?
they are getting outputed in index.asset.php. I am using create-gutenberg-block to work and compile with blocks.