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

Refactor and add delete require.cache to cordova_util and create pkgManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-lib

    Description

      There are 120 instances of delete require.cache in cordova-lib. It should be refactored and added to cordova_util so it can be reused when needed. Package manager should also be created to load and save pkgJson files. Package manager loads files without require so that there is never a cache and saves stringified object to file.

      Attachments

        Issue Links

          Activity

            People

              auso Audrey So
              auso Audrey So
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: