I have a JavaScript project, specifically, a create-react-app
project, using yarn. I'm using Yup in my project and I have an idea how to improve it. I cloned Yup to my local hard drive to be able to edit it and work on it, but how do I make my local project use the local copy of Yup instead of the one installed from the npm package into node_modules
?
For those that know Ruby/Rails/Bundler, I'm after the JavaScript equivalent of
gem "somegem", path: "../../../somegem"
You can use npm link to consume a local library
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.