Skip to content

Cannot get scripts from WooCommerce to concatenate #30

@aj-adl

Description

@aj-adl

I have read all through the source and cannot for the life of me work out what the heck is going on in regards to this issue - it all seems like it should work fine?

If I define a group of scripts that are enqueued by my theme or registered by default with WP it works fine, even when all dependencies are not within the same groups etc

eg: these groups are working fine.

jquery, jquery-migrate
jquery-ui-core, jquery-ui-widget, jquery-ui-tabs, jquery-ui-accordion
jq-easing, jq-hover-intent, jq-flex-slider, jq-carousel, pretty-photo, tabber, custom

Nothing at all happens when I try to add woocommerce scripts to either the above groups or in new groups - in all cases there is just silent failure to concat/minify - the scripts still get loaded individually so no site breakage it is just really frustrating not being able to work out why I cannot get these two to play together - WooCommerce registers and enqueues its scripts as it should using the correct functions and hooked to the correct action.

Has anyone else had any experience with this? I'd really like to get it working as a way around all the tiny bullshit fragmented JS files that WooCommerce uses - Apparently they would rather perform 6-8 extra http requests per page than load 1-2kb of JS that possibly doesn't get used.. /grumble

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions