DEV Community

Discussion on: You need to try this NPM Package

akhilpanchal profile image

Thanks for this article.
I am trying to patch a file in the react-dnd-html5-backend package. It has a dist and a lib folder under node_modules/react-dnd-html5-backend. I am not quite sure which files to change in the node_modules folder since the package has cjs, umd and esm folders for each module system. I tried updating the file under the lib folder and following the rest of the steps, but I couldnt see the change being reflected.
Any suggestions/guidance would be greatly appreciated.
Thanks in advance :)