self-contained build contains unused modules
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- build-system, cli, tooling
調査の方向性
Reproduce the issue with openui5-sample-app using npm run build-self-contained, then inspect dist/resources/sap-ui-custom.js and the self-contained bundling entry points. Determine why sap/m/Dialog.js, sap/m/Select.js, and sap/m/Table.js are included; done means unused UI5 classes are excluded while required framework dependencies remain.
索引モデルが issue の本文から書いたものです。
説明
Expected Behavior
One reason why UI5 modules can be included in the self-contained bundle - even when not explicitly used within the project - is that these modules might be required as dependencies within the ui5 framework itself.
However generally, it is not expected that ui5 classes are part of the self-contained bundle when they are not required anywhere in the project.
Current Behavior
The self-contained bundle contains lots of classes / ui5 controls, even though they aren't included anywhere in the project.
For instance in case of the ui5-sample-app:
sap/m/Dialog.jssap/m/Select.jssap/m/Table.js
Steps to Reproduce the Issue
git clone https://github.com/SAP/openui5-sample-app.gitcd openui5-sample-app && npm run build-self-contained- Analyze
dist/resources/sap-ui-custom.js
Context
- UI5 Module Version (output of
ui5 --versionwhen using the CLI):2.11.2
- 主要言語
- JavaScript
- スター
- 510
- フォーク
- 80
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UI5/cli のほかの issue
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesオープンmodule/ui5-builder module/ui5-fs module/ui5-project
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
module/ui5-project
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0再び着手できるかも @flovogt が 116 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンroadmap
UI5/cli#1485 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
build excludes from application project are not applied to dependencies再び着手できるかも @flovogt が 90 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
UI5/cli#1446 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
help provided
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
bug confirmed issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
open-webui/open-webui#35507 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
beginner-friendly category:tests community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
Berserk-hub150/skillhawk#300 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Fei2411/DeepSeek-Bot#2896 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
area:ui P2 status:blocked
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sunososobro-hub/cloudball#1234 ·
メンテナーはふだん 1 日以内に返信