cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Polivy <>
Subject [DISCUSS] browserify not pulling correct platform cordova-js-src
Date Fri, 04 Mar 2016 22:10:21 GMT
Hi folks,

I've recently updated my projects to the latest platform releases to pick up some specific
fixes in the platform JS (android@5.1.1 and ios@4.1.0). I'm using the browserify option, and
have been trying to figure out why the browserify output is NOT including those fixes in the
final compiled cordova.js. After doing some digging, it seems that by default (with cordova@6.0.0)
the cordova-js/tasks/lib/bundle-browserify.js code is pulling from the global npm repository
instead of the actual project root:


Instead of


As a result, the compiled cordova.js has the right PLATFORM_VERSION_BUILD_LABEL, but the wrong
contents. It seems this is fixed by this commit:

I was going to file a bug on this, but since it is already resolved, I figured I would just
raise it here and confirm 1) the "fixed" behavior is correct, and 2) when would this fix make
it out into the wild? Hopefully this doesn't bite too many others in the meantime!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message