javascript - How can I rename a folder name using grunt? -
there folder say...
vendor/jquery-1.10.0
how can write grunt task such can strip off version off of dependency name?
i.e want vendor/jquery
this can last task the grunt list of tasks. do not want while copy happening.
the first results on searching grunt rename folder show grunt-contrib-rename
npm.
may want check out.
i don't know flow, maybe should consider making symlink instead of renaming folder every time, @meder suggested.
either create 1 manually , don't care renaming folder more, or use grunt-contrib-symlink create in task.
Comments
Post a Comment