-
Notifications
You must be signed in to change notification settings - Fork 53
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
Either plugin doesn't work or I'm really confused #18
Comments
I looked through the source: it looks like 'flatten' just has to be true or relative URLs are skipped. I'm really confused as that doesn't make sense to me. Also, options.stripDirs and options.match aren't documented, despite the latter being pretty important. Can I count on them sticking around? If so, maybe I'll document them for you... |
URLs that get CDNified (by default) are those relative. However you can use stripeDirs we'll keep it around as long as you're using it =) |
Can you give me an example URL that will get CDNified with the default options? |
Sorry, it seems to be a bug there. /static/foo.png should be cdnefied. I'll check later, if you find the offending line you're welcome to send a On Sat, Jul 6, 2013 at 8:15 PM, Alan [email protected] wrote:
|
grunt-cdn.js:104 is the offending line:
I would send you a fix but I don't really understand how options.flatten is supposed to work. |
Either plugin doesn't work or I'm really confused:
What is an absolute URL then? The documentation makes it sound like these URLs are absolute and they should be processed. What am I missing?
The text was updated successfully, but these errors were encountered: