T
T
Tema Agaev2016-11-10 14:13:55
gulp.js
Tema Agaev, 2016-11-10 14:13:55

How not to download gulp plugins every time?

Maybe I didn’t understand something, but I don’t know how to google correctly. How to make it so that after npm init you do not have to download all the plugins again?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2016-11-10
@JustHappyGuest

I made two buttons on the commander's toolbar
. The first one clones a turnip with a configured galp:
The second one creates a symlink to a folder with modules in the current project
Contents of the batch file

@echo off
mklink /D node_modules e:\YandexDisk\domains\frontend\gulp-starter\node_modules

In the e:\YandexDisk\domains\frontend\gulp-starter\node_modules folder, there are pre-installed modules for the aforementioned turnip
. I press one button, I press the second, and a typical layout project is deployed. We start the gallp and work. Half a minute for everything.
This is how it looks like:
37ecd211bb9c429da8462dc1488e45bc.gif

T
timfcsm, 2016-11-10
@timfcsm

google like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question