L
L
littleguga2017-03-22 16:06:17
Node.js
littleguga, 2017-03-22 16:06:17

Has there been a package manager that downloads only the built file, and not all sources?

A little behind the times, so this question.
Nothing appeared that also conveniently allows you to maintain a package.json or something similar. but at the same time, for production-only dependencies, it is not necessary to drag all the sources through npm install?
That is, what I would like: for the dev environment, all the necessary dev packages and those compiled for production are installed, and on the production server itself, the collected files immediately fall into the node_modules / or similar folder (e..g bootstrap.min.css, jquery.min .js etc.).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2017-03-22
@Krasnodar_etc

Make a file where you collect all the js libraries at once during the build (browserify to help), now it's so fashionable)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question