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

Allow plugin modules to be .json files

    XMLWordPrintableJSON

Details

    Description

      Node.js modules can be .json files, in which case module.exports is simply the parsed object. Cordova modules should also have this ability, so that modular plugins don't have to be bundled before Cordova prepares them.

      I've submitted a pull request for this on github: https://github.com/apache/cordova-lib/pull/71

      Attachments

        Activity

          People

            Unassigned Unassigned
            joseph-onsip Joseph Frazier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: