Dynamic path in Yeoman build comment tag
问题 Is there a way to get dynamic path into the Yeoman build tag, e.g. for <!-- build:js scripts/modernizr.js --> The use-case would be to push in a different path in the layout for differently nested pages, either / to webroot or ../../ to an upper level, e.g. something like <!-- build:js <%= config.path.script %>/modernizr.js --> Related topic has already been discussed in a question of Yeoman/Grunt usemin subfolders, but what about a more graceful/flexible solution? Ideas? 回答1: If you compile