Joseph Frazier created CB-7278: ---------------------------------- Summary: Allow plugin modules to be .json files Key: CB-7278 URL: https://issues.apache.org/jira/browse/CB-7278 Project: Apache Cordova Issue Type: Improvement Components: CordovaLib Affects Versions: 3.5.0 Reporter: Joseph Frazier Priority: Trivial
[Node.js modules can be .json files|https://github.com/joyent/node/commit/588d885e81dec667920383ac7246daceeb7f99fd], 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 -- This message was sent by Atlassian JIRA (v6.2#6252)