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

UPDATE: Templates usage in exportsOverride #171

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

tony13tv
Copy link

This will allow the use of the template <%= component %> in bower.json to make globbing like in grunt tasks.

This will allow the use of the template `<%= component %>` in bower.json to make globbing like in grunt tasks.
@codewithtyler
Copy link
Collaborator

@tony13tv Can you provide an example of how this can be used so we can test your PR?

@tony13tv
Copy link
Author

tony13tv commented Jun 29, 2016

Well in the bower.json file you can use it as an alias for files that contains the name of the module in it.
e.g:

"*": {
  "js": "<%= component %>.min.js",
  "css": "<%= component %>.min.css"
}

This will include the file jquery.min.js and jquery.min.css from the jquery package. The file bootstrap.min.js and bootstrap.min.css from the bootstrap package.

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

Successfully merging this pull request may close these issues.

2 participants