-
Notifications
You must be signed in to change notification settings - Fork 339
Add parameters to generated URL #439
Comments
This is the path, not the url "generated". I am not sure usemin can do that (maybe you can edit lib/fileprocessor.js file to match your needs). Else, you can use another Grunt task who can pre or post process HTML file (maybe https://github.com/jsoverson/grunt-preprocess can match your needs?) |
https://www.npmjs.org/package/grunt-cdnify with rewrite is what are you looking for. |
I think |
Of course it's ignored, "?" is invalid for a "path". You must use another grunt task for this, which is dedicated for HTML post process. |
In this pull request #443 , I just make a little change, and now it works fine for me. |
Not sure is the right way to achieve this. The documentation clearly says is a path, not a complete URL. A right way to improve usemin would be to add a paramater (HTML inline or within the grunt file), something like an URL mask where we could also set a CDN , thats will ne Fan-Tas-Tic ! |
The problem here is, |
@ebuildy what you have in mind to set a cdn ? |
Added the codereview tag as waiting for a review of #443. Not sure about this. |
Html:
Expected:
Actual:
I need this query string to make
grunt-inline
work.The text was updated successfully, but these errors were encountered: