Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
All the platforms
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