[TIMOB-27511] Webpack: Alloy loader
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-08-25T00:35:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.1.0 |
Components | Tooling |
Labels | n/a |
Reporter | Jan Vennemann |
Assignee | Jan Vennemann |
Created | 2019-10-30T00:19:04.000+0000 |
Updated | 2020-08-25T00:35:46.000+0000 |
Description
To support bundling Alloy apps with Webpack we need a loader for Alloy components. This loader needs the following features:
- Transform
app/alloy.js
entry and add require to [template/lib/alloy.js](https://github.com/appcelerator/alloy/blob/master/Alloy/template/lib/alloy.js)
- Modify template/lib/alloy.js
- Load and process controllers
- Load and process .tss style files
- Load and process views
[alloy-loader](https://github.com/appcelerator/alloy-loader) is now available and already configured inside [appcd-plugin-webpack](https://github.com/appcelerator/appcd-plugin-webpack). @QE: To be able to test this ticket TIMOB-27429 needs to be merged first. I created a [webpack branch](https://github.com/janvennemann/kitchensink-v2/tree/webpack) for our kithchensink-v2 that can be used for testing.
Closing.