Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
All of the 'prepare' logic of windows is called as part of build and this makes other tools and hooks to plug in correctly difficult.
The proposed approach is to require and execute this logic inside of cordova-lib prepare method like this is done for android here: https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/install.js#L565
However, to avoid this logic to be called twice (from cordova-lib prepare and platfrom's build) we need to remove applyPlatformConfig call from build script.