Support self-contained build without fallback dependency modules
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 83
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 55
Description
Is your feature request related to a problem? Please describe.
If a self-contained build with dependencies is performed, all framework dependencies will be also be included as non-bundled version. Although this behaviour makes sense as fallback option in case any resources were not included in the bundling, it would be good if it can be configured.
Describe the solution you'd like
In given sample application project:
- Dependency to
sap/m - Supported Theme:
Horizon - Support Language:
EN
It shall be possible to run a minimal self-contained build...
ui5 build self-contained --all
...that results in the following build output (simplified and no consideration of debug sources):
dist/
├── index.html
├── Component-preload.js
└── resources/
├── sap-ui-custom.js
├── ui5loader.js
└── sap/
├── ui/
│ ├── core
│ └── messagebundle.properties/
│ └── themes/
│ └── sap_horizon/
│ └── library.css
└── m/
├── messagebundle.properties
└── themes/
└── sap_horizon/
└── library.css
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the ui5 build self-contained --all entry point and how framework dependencies are currently included in the build output. Compare the generated files with the requested minimal dist/ tree; done means the bundled resources remain while non-bundled fallback dependency modules can be omitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100