• for js:
    underscore,mailchimp-for-wp/assets/js/forms-api.min

    That should exclude the file plugins/mailchimp-for-wp/assets/js/forms-api.min.js?

    css:
    ,.sharrre

    should exclude any css with .sharrre in any part of it?

    It doesn’t seem to be doing so I’m not sure why.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    JS looks right … maybe try forms-api.min.js instead?

    CSS depends; inline CSS with .sharrre would be excluded, linked CSS files only if they contain .sharrre in the filename.

    frank

    Thread Starter funsail

    (@funsail)

    The CSS I think it’s being written by php, I see it in a php file.

    So you can’t exclude part of a file?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if written in a PHP-file, you don’t need to exclude because AO only aggregates if in a static .css file

    excluding part of a file indeed is not possible.

    frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Excluding not excluding’ is closed to new replies.