Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8801 Browserify Master Issue
  3. CB-8158

Browserify: Keep a symbol List of requires so runtime require still works

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-js
    • Labels:
      None

      Description

      Right now, a couple of plugins + wp8 and android pass chunks of javascript from native.

      some of the calls from native use require. No way for us to intercept this and browserify it during build time. So we need to attach a symbol map to cordova.js that is generated and allow runtime require.

      Hopefully in the long term, we can change the native side to not have to rely on passing around requires.

        Attachments

          Activity

            People

            • Assignee:
              stevegill Steve Gill
              Reporter:
              stevegill Steve Gill
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: