cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9436) Refactor browserify to get rid of `require-tr` transform
Date Tue, 04 Aug 2015 22:44:05 GMT


ASF GitHub Bot commented on CB-9436:

Github user vladimir-kotikov commented on the pull request:
    > Wondering why you had to add require('codrdova/init') to the bundle? MSOpenTech@5105161#diff-28a16640f3807e6ee2300ea7ce8c2f1dR196.
How was that getting added previously?
    Previously this was being added by `cordova-js/tasks/lib/bundle-browserify.js` as `cordova/bootstrap`
module. The problem is when you adding plugin modules into bundle after bootstrap is added,
they only get loaded _after_ cordova initialization and `deviceready` event. The only way
i found to fix this, is to add `bootstrap` as the last file in the bundle.

> Refactor browserify to get rid of `require-tr` transform
> --------------------------------------------------------
>                 Key: CB-9436
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS, CordovaLib
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message