[ 
https://issues.apache.org/jira/browse/CB-9039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill closed CB-9039.
--------------------------
    Resolution: Duplicate

Combining this with CB-9036

> project level plugins js files get modified on each prepare --browserify
> ------------------------------------------------------------------------
>
>                 Key: CB-9039
>                 URL: https://issues.apache.org/jira/browse/CB-9039
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: CordovaJS, CordovaLib
>            Reporter: Steve Gill
>            Assignee: Steve Gill
>
> Related to [CB-9036] 
> When you do cordova prepare --browserify, it modifies the plugin js files in 
> cordovaproject/plugins/PLUGIN/www/. 
> Each subsequent prepare, this file gets more added to it. 
> Ex. 
> window.CameraPopoverHandle = window.CameraPopoverHandle || {};
> require('cordova/builder').assignOrWrapInDeprecateGetter(window, 
> 'CameraPopoverHandle', module.exports);window.CameraPopoverHandle = 
> window.CameraPopoverHandle || {};
> require('cordova/builder').assignOrWrapInDeprecateGetter(window, 
> 'CameraPopoverHandle', module.exports);
> I believe these files shouldn't be modified, or only modified temporarily 
> when doing a cordova prepare --browserify. Fixing this would probably solve 
> CB-9036



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to