Change bundle path and fix relative URL's#41
Change bundle path and fix relative URL's#41rehandalal wants to merge 4 commits intojsocol:masterfrom rehandalal:bundled-folder
Conversation
|
I should also probably point out the reason for bundling to the I happened to have a bundle called Now admittedly, this is a silly edge case that would normally not be an issue, and is pretty easy to get around. But I generally like the idea of tossing bundled files in another folder because it also keeps file clutter down in my js/css folders. |
There was a problem hiding this comment.
This should be a raw string, like this
css_parsed = re.sub(r'url\(([^)]*?)\)', parse, css_content)
Otherwise, python and re get confused about the back slashes.
|
If someone updates to this, will they be hosed? Are there things they need to do to update to this version? |
There was a problem hiding this comment.
is this not in get_media_root()?
There was a problem hiding this comment.
if I decide to not set settings.BUNDLES_DIR can we not do the bundled/ stuff?
There was a problem hiding this comment.
sure i could default that to .
|
@willkg with the new change to the default value of |
|
Test added ^ |
|
And now tests pass ^ If this is all good I'll squash and push |
|
@cvan any outstanding comments here? @rehandalal Still want to get this merged in? |
There was a problem hiding this comment.
I can't find where you use that package in the diff.
There was a problem hiding this comment.
It's unrelated but missing. There's a test in #63 that demonstrates the issue. Any new tests that hit that area of code will trip over it.
|
I can't understand why there is the |
There was a problem hiding this comment.
Shouldn't that one be wrapped in url() too?
This needs to be updated after the PR is merged into master at: jsocol/jingo-minify#41
This needs to be updated after the PR is merged into master at: jsocol/jingo-minify#41
This needs to be updated after the PR is merged into master at: jsocol/jingo-minify#41
This needs to be updated after the PR is merged into master at: jsocol/jingo-minify#41
This needs to be updated after the PR is merged into master at: jsocol/jingo-minify#41
Feel free to say: "THESE ARE USELESS CHANGES AND NOBODY NEEDS THEM!".
This does a couple of things:
MEDIA_PATH/bundled/cssMEDIA_PATH/BUNDLES_DIR/cssMEDIA_PATH/bundled/jsMEDIA_PATH/BUNDLES_DIR/jsr?