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

Remove unused res folder from app template

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.11.0
    • Fix Version/s: None
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                raphinesse Raphael
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: