-
Notifications
You must be signed in to change notification settings - Fork 33
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
Remove enable_yui_compressor #18
Conversation
Would you like to take care of fixing this issue? |
@boekkooi I've started to look at this issue. I've removed the stylesheets assetic declaration and I've replaced it as follows:
then I've changed the config_rkcms.yml as follows: assetic: but I've noticed it takes a long time (5 mins) to compile assets when I run assetic:dump: what I'm doing wrong? |
Mhh probably a problem with YUI it self. I'm using: assetic:
debug: %kernel.debug%
use_controller: false
bundles: [ RedKiteCmsBundle ]
node_paths: [/usr/lib/node_modules/]
filters:
cssrewrite: ~
less:
apply_to: "\.less$"
uglifyjs2:
apply_to: "\.js$"
uglifycss:
apply_to: "\.css$" And it works like a charm. What maybe a reason is that when using apply_to all js and css files that use |
Also are you using the latest version (https://github.com/yui/yuicompressor/releases) ? |
Are you currently working on this? If not I will pick it! |
Yes I started to inspect it, but I will gladly let it go. Thanks |
Ok then I will pick it up because YUI totally destroyed my capifony deploy |
This commit removes the `enable_yui_compressor` option and all related assetic yui filters.
This patch assumes to remove the yuicompressor from RedKIteCmsSandbox and let the user to choose a compressor, don't it? |
Correct, i also added a pull for the ThemeEngineBundle (see redkite-labs/ThemeEngineBundle#1) |
Remove
enable_yui_compressor
as a option since this can be handled by usingassetic
configuration like:This should be a better way and reduce some template and configuration code.