Answer the question
In order to leave comments, you need to log in
How to build a project with Grunt or Gulp according to the described rules?
Good day.
Let me explain the situation first and then the question. There is one large project, which includes subprojects, we want to make one common base with css, js, images and fonts, but when building a separate subproject, only the necessary files from the common base should be collected into it, and not all of it. Scripts, styles, fonts, we store in a modular version, for example: css(head.css, nav.css, article.css); js(menu.js, side.js) and so on, this is a very rough example, but I think the point is clear.
So, is it possible to create build rules for a grant or a gallp? Don't write something like this:
uglify: {
files: {
'dist/js/scripts.min.js': ['src/js/*.js']
}
}
Answer the question
In order to leave comments, you need to log in
Haven't looked in the direction of such a plugin: stackoverflow.com/questions/13694385/can-i-have-mu... ?
https://github.com/shama/grunt-hub
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question