Filip Maj created CB-12901:
------------------------------

             Summary: 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.3.15#6346)

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

Reply via email to