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

webjars support #45

Closed
jknack opened this issue Mar 24, 2015 · 0 comments
Closed

webjars support #45

jknack opened this issue Mar 24, 2015 · 0 comments

Comments

@jknack
Copy link
Member

jknack commented Mar 24, 2015

With the addition of #44 it is pretty straightforward to use http://www.webjars.org/:

assets("/js/**", "/META-INF/resources/webjars/{0}");

GET /js/jquery/2.1.3/jquery.js

Short/custom mapping:

assets("/js/lib/*-*.js", "/META-INF/resources/webjars/{0}/{1}/{0}.js");

GET /js/lib/jquery-2.1.3.js

@jknack jknack closed this as completed in 2654e87 Mar 24, 2015
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

No branches or pull requests

1 participant