[
https://issues.apache.org/jira/browse/CB-12901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056164#comment-16056164
]
ASF subversion and git services commented on CB-12901:
------------------------------------------------------
Commit 0a42092971dc8fe2f483bd42c3b9de26fdec677c in cordova-cli's branch
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=0a42092 ]
CB-12901: removed .raw from cordova-lib calls
> Remove lazy loading of node modules from cordova tooling
> --------------------------------------------------------
>
> Key: CB-12901
> URL: https://issues.apache.org/jira/browse/CB-12901
> Project: Apache Cordova
> Issue Type: Task
> Components: cordova-common, cordova-lib
> Reporter: Filip Maj
> Assignee: Filip Maj
>
> There are various {{addProperty*}} methods that execute {{require}} at
> runtime. While this improves load time and only loads modules that are
> necessary, it also makes it harder to test, as spying and mocking is more
> difficult.
> The 300ms load time improvement, in the best case, is not worth the
> difficulty in writing unit tests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]