Support » Plugin: Elementor Page Builder » Elementor with Git, uploads directory is too huge

  • Resolved Emil Dotsev

    (@edocev)


    Hey,

    A client of us is using your plugin and we want to be able to work on their site using Git, as we need to keep changes under version control.
    The problem comes from the fact that the builder generates a lot of code in wp-content/uploads which is making it too heavy for the repo ( around 1.00 GB, /uploads/ only ).

    We tried adding wp-content/uploads to .gitignore, but this way the site breaks and no styles are rendered at all.

    So what will be the best to do in this case as we need to add setup details for the rest of the team

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support davidr90

    (@davidr90)

    Elementor by itself does not create 1GB of content in the uploads folder.
    The upload folder might contain images that were uploaded to your WP media library.

    What you can do is, try to exclude image file extensions (such as .png, .jpg) from the /uploads directory in the .gitignore file

    You can also try setting the CSS Print Method as Internal Embedding via WP Dashboard > Elementor > Advanced > CSS Print Method.

    then you might be able to add the uploads folders to .gitignore without breaking the styles.

    Thank you! This seemed to work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.