A
A
Andrey Berezhnoy2016-02-10 17:07:21
Building projects
Andrey Berezhnoy, 2016-02-10 17:07:21

How to set up such a structure in Gulp?

There are many different projects arranged in this structure:

home --[
    -- project1
    -- project2
    -- project3
    -- project4
    -- project5

All projects have a single gulp configuration, but I would like not to produce a bunch of node_modules directories and move them to the root of all projects in order to get a structure like:
home --[
    -- project1
    -- project2
    -- project3
    -- project4
    -- project5
    -- node_modules

This was partially sorted out, but another problem arose:
We also download various css frameworks, jquery plugins via npm and they are also stored in node_modules, how can I import them into a sass file or use them when building? Is there a way to specify an absolute path? And what to do if the nesting of directories changes?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question