You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2017/07/14 22:16:00 UTC

[jira] [Updated] (CB-11415) Can we merge all the cordova plugin objects in one single file

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

Filip Maj updated CB-11415:
---------------------------
    Component/s:     (was: AllPlatforms)
                 cordova-browser

> Can we merge all the cordova plugin objects in one single file
> --------------------------------------------------------------
>
>                 Key: CB-11415
>                 URL: https://issues.apache.org/jira/browse/CB-11415
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-browser
>         Environment: All the platforms
>            Reporter: Arcoiris Labs
>            Priority: Minor
>              Labels: build, performance
>
> Hi,
> Is it possible to merge all the plugin objects in one single file so that the number of HTTP requests to pull the cordova plugin libraries shall be reduced and the performance can be improved?? 
> The reason I am asking for this feature because when creating an app that contains 20 plugins so then the browser has to request unminified files 20 times before the body is rendered. If we collab all the plugins in a single file, all the plugins shall be accessed from a single file.
> Also we can use uglify/minify the plugin file during after_prepare hook which can reduce the file size, which can be totally upto the developer's choice.
> It could also be a feature in the CLI itself that will minify and uglify the plugins during release mode



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org