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

specify file reference with grunt-bower-requirejs #29

Open
szalishchuk opened this issue Feb 17, 2014 · 0 comments
Open

specify file reference with grunt-bower-requirejs #29

szalishchuk opened this issue Feb 17, 2014 · 0 comments
Labels

Comments

@szalishchuk
Copy link
Owner

Sometime library vendor provides few different version of the script within single bower package, AMD and non-amd are the most common use cases. But they can only reference to one of them with bower.json main attribute.

I would like to be able to specify for each library, which file it should grab. If the library is not specified, default main attribute value should be used.

File path should be related to library's base path.

I imagine this to have the following looks:

....
paths: {
    'jquery': 'jquery.js',
    'underscore': 'underscore.min.js'
    'backbone': 'backbone.amd.js'
}
...

This issue is also posted at grunt-bower-requirejs github repo, therefore the fix should also make it's way to the plugin's code base through pull request.

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

No branches or pull requests

1 participant