Relative Content

Tag Archive for npmnpm-install

Installing npm modules from local directory

We have a ReactJs application, built from Create React App. We are trying to reduce our build time in the pipeline. NPM install takes about 8 minutes. If we were to keep a copy of the whole node_modules folder at a nearby directory, is it possible to get NPM to copy from there instead of downloading from the registry? I know we can specify the local path for individual modules, but is it possible to get everything from the local file system?