self-contained build should resolve view/controllers imported using say sap.ui.jsview/JSView.create api

Open
#350 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
build-system

Research direction

Start by investigating the ui5-builder component and how self-contained builds produce the sap-ui-custom.js artifact. Reproduce the issue with views and controllers imported through sap.ui.jsview or JSView.create, then verify that those modules from application libraries are included in the built artifact.

Written by the indexing model from the issue text.

Description

module/ui5-builder

Expected Behavior

Views and controllers imported in libraries used in an application should be included in the built artifact sap-ui-custom.js.

Current Behavior

Views and controllers imported using sap.ui.jsview are missing from built artifact.

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 1.2.1
  • Node.js Version: 10.15.1
  • npm Version: 6.4.1
  • OS/Platform: MacOS

Affected components (if known)

Dominant language
JavaScript
Stars
511
Forks
83
Avg merge
1d 5h
Merged PRs (30d)
55

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/cli

All issues in UI5/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.