Answer the question
In order to leave comments, you need to log in
Should node_modules be pushed to the server?
I want to upload a static site I created via ssh to the server. During development, I downloaded gulp and jquery in npm. built my dist via gulp, but with dependencies in index.html from node_modules. How to upload directly to the server and specify the path to index.html which will upload files from node_modules or copy minified files from node_nodules to the dist / vendor folder, change the paths in index.html and upload only dist.
Answer the question
In order to leave comments, you need to log in
copy minified files from node_nodules to dist/vendor folder change paths in index.html and upload only dist.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question