Answer the question
In order to leave comments, you need to log in
How to properly prepare files in npm/node_modules for deployment of your application?
Started learning npm. When installing a package (locally), a fairly large number of files are downloaded to the node_modules/package folder in some cases. At the same time, we, as the user of the package, are usually interested in *min.js/*min.css and, if any, then some assets. It is clear that before uploading to the server, you can fish out everything you need "by hand", and simply do not upload the rest. But something tells me that "manual traction" can be avoided: what are the modern ways to automate this process?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question