Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14098

Remove unused res folder from app template

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.11.0
    • None
    • None

    Description

      The res folder weighs around 10MiB and contains resources for a whole lot of platforms, most of which are actually deprecated. Furthermore, as I understand the included `README.md` (which I'm not sure I do), the contents of this folder seem to not even being used for anything.

      So my proposal is to remove this directory from the template. That would decrease the installation size of `cordova` by about two thirds and remove unnecessary clutter from any newly created apps.

      If I did get anything wrong and this is actually used, we should probably clarify the README, remove all content related to deprecated platforms (like suggested in CB-13726) and run them through some compressors (pngquant and zopflipng).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              raphinesse Raphael von der Grün
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: