UI5 / UI5/cli

How to integrate External CSS Librairies in SAPUI5/UI5/Fiori

Open
#916 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Similar to #802 we would like to externalize one of the css bundles, which is used in several Fiori applications. Currently css bundle has size of 200 KB, and used only in couple of applications, so bundling it together with several apps works. But in total we have more than 30 applications and what if we'll need to add it everywhere? Taking in account that maximum space available in html5-repo is 100 MB it could be depleted quite fast.

Any possibilities to do something like sap.ui.loader.config but for CSS files?

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.

Research direction

Start by reading the related issue #802 and reviewing how sap.ui.loader.config handles external resources. Investigate whether CSS bundles can be externalized for multiple Fiori applications within the html5-repo space limit. Done means a clear, supported approach or a documented reason it cannot be implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.