-
Notifications
You must be signed in to change notification settings - Fork 83
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
Using collections in development mode #170
Comments
So if I understand this correctly... You want to load all assets individually for development, and combine them in a collection for production? If so, that's not really possible right now. You can skip the minify filter using local configs. We could create a ViewHelper that adds the assets conditionally based on a config. I'd accept a PR for that. |
Yes, I want to load all assets individually for development, and combine them in a collection for production. How this ViewHelper will work? |
@dronchik The view helper would basically extend the default headScript helper. You'd be able to configure it (local config) and have it add all files in a collection individually. I'm not sure how this would work internally. |
Sounds good:) |
I want to combine & minify my assets only in production mode, but in development mode I don't need todo this because it make debugging more complicated. How can I do this?
To allow minifications only in production mode I can remove filters from global.php and add to local.php in production environment and it will work great.
How can I do the same trick with collection resolvers?
Thanks!
The text was updated successfully, but these errors were encountered: