Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27150

Add ability to alias required modules in Titanium

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 8.1.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2019 Sprint 14, 2019 Sprint 15

      Description

      With 8.0.X versions of the SDK, I could include a bootstrap file with my package before I published it to npm which then allowed me to define an alias for use with Titanium.

      require('/ti.internal/extensions/binding')('axios', '/node_modules/@titanium/axios');

      With the 8.1.x releases, the code has changed and is rolled up, which blocks access to the functions necessary to do this.

      I will submit a PR that modifies the code to allow it.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              bhouse Brenton House
              Reviewer:
              Brenton House
              Tester:
              Samir Mohammed
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code