• Resolved Soft79

    (@josk79)


    Hi,

    When “Minify CSS Files” is enabled, the minifier places the .min.css files in the theme / plugin directory itself. I think this is bad practice. For example; it causes issues for plugins/themes tracked by git or svn.

    Why aren’t the .min.css files placed in wp-content/uploads/siteground-optimizer-assets/ like the .min.js files?

Viewing 1 replies (of 1 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    A lot of themes / plugins load resources relative to the path of the .css file. That’s why it’s actually good practice to keep minified files where they originally are.

    As to folders under version control, you can simply ignore the .min.js files. The front end will be just fine, since once you push changes the min file will simply regenerate upon first load.

Viewing 1 replies (of 1 total)
  • The topic ‘Minifier adds .min.css files to plugin/theme directories’ is closed to new replies.