{ "id": "174196", "key": "TIMOB-27429", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-25T00:36:22.000+0000", "created": "2019-09-30T11:27:24.000+0000", "epic": { "id": 174195, "key": "TIMOB-27428", "name": "Webpack Support", "summary": "Use Webpack as the JavaScript build pipeline", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2020-08-25T00:36:22.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "To integrate Webpack support in the CLI we need the following changes to our build:\r\n\r\n- A new hook that communicates with appcd-plugin-webpack to get webpack build results.\r\n- Assets generated by Webpack need to be excluded from our existing JavaScript processing from node-titanium-sdk.\r\n- Bootstrap files will be loaded dynamically during runtime. These files need to be loaded through a [dynamic expression in import()|https://webpack.js.org/api/module-methods/#dynamic-expressions-in-import].\r\n- (Optional) Provide the raw sources of our common JavaScript sources. Currently we bundle all files and the deprecated {{@babel/polyfill}} via rollup to create the {{ti.main.js}}. This could be optimized through a seperate webpack entry point which would allow to load seperate polyfills based in our internal usage, and end-user code usage.", "attachment": [], "flagged": false, "summary": "Webpack: Integration into the CLI build command", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "452776", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "node-titanium-sdk PR to add a new {{webpack}} section to tiapp.xml: https://github.com/appcelerator/node-titanium-sdk/pull/128", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-11-19T10:34:12.000+0000", "updated": "2019-11-19T10:34:12.000+0000" }, { "id": "455730", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/11346", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-09T20:55:33.000+0000", "updated": "2020-06-09T20:55:33.000+0000" }, { "id": "456568", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-25T00:36:18.000+0000", "updated": "2020-08-25T00:36:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }