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

Assetic #2263

Merged
merged 3 commits into from Feb 27, 2013
Merged

Assetic #2263

merged 3 commits into from Feb 27, 2013

Conversation

weaverryan
Copy link
Member

Q A
Doc fix? yes
New docs? no
Applies to all
Fixed tickets none

Hi guys!

This builds off of some changes in #1991, which addresses 2 issues:

a) Warning against using the @MyBundle syntax with CSS files (due to the rewrite filter). To my knowledge, this is still an issue with current versions of Symfony. If I'm wrong, please correct me :)

b) adding a note about the assetic.bundles key - not included here, because this PR is against the 2.0 branch.

But moreover, it's basically a re-read/refactor of the first half of the assetic docs. If anyone sees any errors or has any suggestions, please let me know!

This PR is against the 2.0 branch - after it is merged, we'll add a note about assetic.bundles on 2.1.

Thanks!

@weaverryan weaverryan mentioned this pull request Feb 25, 2013
you can debug problems more easily. However, in the `prod` environment, this
will be rendered as a single `script` tag.
In the ``dev`` environment, each file is still served individually, so that
you can debug problems more easily. However, in the ``prod`` environment,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually controlled by the debug flag, not by the environment

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and btw, this behavior can be changed as you can force assets to be always combined.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, it is nice if the default behaviour is explained.

weaverryan added a commit that referenced this pull request Feb 27, 2013
@weaverryan weaverryan merged commit d1ee96e into 2.0 Feb 27, 2013
@weaverryan weaverryan deleted the assetic branch February 27, 2013 03:46
@weaverryan
Copy link
Member Author

Thanks for the proofread @stof - I've updated with your change about the debug flag.

Cheers!

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

Successfully merging this pull request may close these issues.

None yet

4 participants