Answer the question
In order to leave comments, you need to log in
How to solve a problem with paths in a project using grunt?
there was a need to collect css and minify it. The problem is that different css files are located in different subfolders, for example
app/
css/
samefolder/style.css
folder2/folder3/file2.css
, etc.
and next to these css there may be dependent pictures.
How to assemble everything so beautifully and not edit a bunch of paths with your hands?
Answer the question
In order to leave comments, you need to log in
Probably when you specify the path to the processed files, specify something like this :-)
[
'app/*.css',
'css/*.css',
'samefolder/style.css',
'folder2/folder3/file2.css'
]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question