Hello.
There was a difficulty in processing paths in Grunt, namely the task concat : how to transfer something from the found paths to the value of the target path?
There is something like this project structure:
src -js --Core ---Core.js ---Something.js ---0_Header.js --FileLoader ---ExternalInterface.js ---Core.js ---Helper.js It is necessary that concat collect something like this:
build -js --Ext ---Core ----Core.min.js ---FileLoader ----FileLoader.min.js Something like this would fit here:
concat: { *** files: { 'build/js/Ext/$1/$1.min.js': ['src/js/(*)/**/*.js'] } *** } But it does not work. Separately register each module, when you can clearly automate - it is stupid.
How to register? Thank you.