简体   繁体   中英

Moving library/module outside of node_modules

I am working on angular 7.

I have one node package that i want to customize for my project.

The issue is it's node package so it will be install fresh on npm install on server.

So i want to move this library into local folder.

I am not sure how to do this. Can anyone give me any suggestion?

I want to customize this library multi select dropdown .

There are a few options on how to do this:

  • If the changes you want to make are generic, you could make them and create a pull request for the project on Github.

  • You could fork the project and use your own version of the library. Everyone in the team will install this one.

  • If there are a few changes only, you could use something like patch-package to make and distribute them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM