I have a project that has a Gruntfile.js
file in the root directory, and many subprojects, each of which has a packing.js
file.
when Gruntfile.js
is executed, the packing.js
add task in the subproject is called in a loop.
Gruntfile.js
part of the content is as follows
"scripts": {
"build": "./node_modules/.bin/grunt",
},
what I"m thinking about now is
execution npm build a
packing subproject 1meme 2meme3
execution npm build b
packaged subproject 4Pie5Power6
what should I do?
what I want is to create two Gruntfile.js
files, but how do I configure and execute different grunt configuration files?