cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Gill <>
Subject Re: [DISCUSS] browserify not pulling correct platform cordova-js-src
Date Sun, 06 Mar 2016 19:55:13 GMT
Thanks for looking into this Dan!

We are hoping to do a tools release pretty soon. This week or next is what
I am imagining.

On Fri, Mar 4, 2016 at 2:10 PM, Dan Polivy <> wrote:

> 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:
> \\AppData\\Roaming\\npm\\node_modules\\cordova\\node_modules\\cordova-lib\\node_modules\\cordova-js\\src\\
> Instead of
> \\platforms\\android\\platform_www\\cordova-js-src\\
> 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!
> Dan

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