How do I modify a node module and use that in Vercel? #6391
Unanswered
shajidhasan
asked this question in
Help
Replies: 2 comments 12 replies
-
3rd one works because the build step is run after the environment is setup up which is where the installation of the packages go through and you can just change you build step in Project Settings > General , to run the shell script, before it runs the build command. examples: let me know if that works |
Beta Was this translation helpful? Give feedback.
11 replies
-
Looks like patch-package is now working on vercel! Much easier than forking... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
During every build, Vercel downloads all the dependencies so I can't just edit a local file in my node_modules and expect that to have any effect in Vercel. I have tried
patch-package
as apostinstall
script but patch-package doesn't work during a Vercel build. So how to go around this problem?Beta Was this translation helpful? Give feedback.
All reactions