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

Arcoiris Labs updated CB-11415:
-------------------------------
    Description: 
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


  was:
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?? 
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



> 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: AllPlatforms
>         Environment: All the platforms
>            Reporter: Arcoiris Labs
>            Priority: Trivial
>              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.3.4#6332)

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

Reply via email to