Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename files during copy #131

Open
butchewing opened this issue Aug 5, 2014 · 3 comments
Open

Rename files during copy #131

butchewing opened this issue Aug 5, 2014 · 3 comments

Comments

@butchewing
Copy link

It would be great if files could be renamed when grunt-bower-task is copying them to their new destination. Example:

{
  "name" : "test",
  "version": "0.1",
  "dependencies" : {
    "jquery-ui" : "latest"
  },
  "install" : {
    "path" : "some/path",
    "sources" : {
      "jquery-ui" : {
        "mapping": [
          {"bower_components/jquery-ui/ui/jquery-ui.js": "jquery-ui.js"},
          {"bower_components/jquery-ui/ui/minified/jquery-ui.min.js": "jquery-ui-min-new-name.js"}
        ]
      }
    }
  }
}

As found in: https://github.com/blittle/bower-installer#rename-files-during-copy

@Kienz
Copy link

Kienz commented Aug 8, 2014

+1

2 similar comments
@chrisjlee
Copy link

+1

@stavinsky
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants