[
https://issues.apache.org/jira/browse/CB-7278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Kurdyumov resolved CB-7278.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.6.3
This patch already merged and shipped
> 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
> Labels: json, module, plugin, require
> Fix For: 3.6.3
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> [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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]