Closed ichuan closed 11 years ago
Testing we'll marge it tomorrow.
On Sat, Jul 6, 2013 at 2:04 AM, yc notifications@github.com wrote:
Suppose html like this:
After grunt-cdn:
With this merge, scripts in the data-main will also get cdned:
You can merge this Pull Request by running
git pull https://github.com/ichuan/grunt-cdn master
Or view, comment on, or merge it at:
https://github.com/tactivos/grunt-cdn/pull/19 Commit Summary
- Support for prepending requirejs data-main attribute
File Changes
- M tasks/grunt-cdn.jshttps://github.com/tactivos/grunt-cdn/pull/19/files#diff-0(13)
Patch Links:
@johnnyhalife @ichuan Thanks for your work on this! We ran into the same issue, and are using @ichuan's fork successfully in our app.
Would it be possible to merge this in so we can use the 'official' package? Thanks again!
It has been published as 0.2.4
Suppose html like this:
After grunt-cdn:
With this commit, scripts in the
data-main
will also get cdned:The
dest
option is in fact unavailable, mofified content still goes to original file. This commit also fix this.