[TIMOB-26353] CLI: ES6+ dependencies in app/lib/node_modules not handled properly
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 7.5.0 |
| Fix Version/s | n/a |
| Components | Android, CLI, iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Unknown |
| Created | 2018-09-03T12:23:52.000+0000 |
| Updated | 2020-01-28T15:22:46.000+0000 |
Description
Dependencies that use ES6+ are currently not handled properly in Titanium.
To reproduce:
1. Create a new Ti app
2. Run
npm init in app/lib
3. Run npm i redux --save (in app/lib as well)
4. Add import { createStore } from 'redux' to your app.js / index.js (ES6 enabled)
5. Run your app
No comments