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

Only assets that are referenced for the current request are build #84

Open
roelvanduijnhoven opened this issue Jul 11, 2013 · 1 comment

Comments

@roelvanduijnhoven
Copy link
Contributor

In the new version of this repository only assets are build during a request that are actually referenced in the assetic configuration.

This leads to problems in our application. We have a few files that need to be copied to the assets directory but are never mentioned in the assetic configuration for a request. For example our @bootstrap_js collection.

How can we make sure that ALL assets are (possibly, if not already present) build and copied in an request?

Thanks.

@widmogrod
Copy link
Owner

Hi,

I thinks that on production environment this would help:

index.php assetic build

You could also try to use flag combine => true to combine all assets as one.

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

No branches or pull requests

2 participants