[Vuejs]-Merging NPM dependancy with a VUE.js Javascript Project

0👍

After many attempt to solve this problem, it turn out that Patch-Package do the best job to merge a dependency by simply patching over instead of forking.

Syntax is pretty simple and it integrate very well with NPM:

  1. Installation: npm i patch-package

  2. Modify the code of your dependency directly in node_modules folder

  3. Run npx patch-package some-package where some-package is the name of your package to patch

https://github.com/ds300/patch-package

Documentation: https://github.com/ds300/patch-package

Leave a comment