Build toolBuild tooltypeRuns at build time. Nothing of it ships in the deployed application.See every one →What this type is →by a community orgby a community orgoriginPublished by a community organisation, so it outlives any one maintainer.See every one →

ui5-tooling-less

A UI5 CLI extension, a build task and a dev-server middleware, that compiles an app's Less files into CSS at build time and live while the UI5 server runs.

UI5 apps that style themselves with Less need those files compiled to CSS both while developing and at build time. This extension supplies both halves: a build task that compiles the Less files listed under sap.ui5/resources/css in the manifest, or matched by a configured glob, and a middleware that live-compiles them while the UI5 server is running. A Less file can import variables from a UI5 library's own theme, framework or custom, provided the import uses the library's runtime resource path rather than a relative one.

Facts

Latestv3.2.5ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
Build and dev-server toolingUI5Build and dev-server toolingcapabilityServing an app locally and building it for deployment — proxying a backend, transpiling, bundling, and shaping the result for whatever will host it.

Who is behind it

UI5 CommunityUI5 CommunityOrganisationMaintains this
In the atlas: maintains 69
@ui5-community
maintainerDimitar FenerskiPersonContributes to this
In the atlas: contributes to 23
@dfenerski
Florian VogtPersonContributes to this
In the atlas: contributes to 50, wrote 2
@flovogt
Peter MuessigPersonContributes to this
In the atlas: maintains 14, contributes to 80, wrote 1
@petermuessig
3 contributors

What it declares

Every artifact

Type
Build tool
Origin
By a community org

As a build tool

Distributed through
npm

Connections1

Install

npm add ui5-tooling-less

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from ui5-community/ui5-ecosystem-showcase under Apache-2.0, read
ui5-community/ui5-ecosystem-showcase/packages/ui5-tooling-less/README.mdOn GitHub

UI5 CLI extension for compiling less files

👋 This is an open‑source, community‑driven project, developed and actively monitored by members of the UI5 community. You are welcome to use it, report issues, contribute enhancements, and support others in the community.

The project includes a task for ui5-builder, enabling compiling of less files in your app folder, and a middleware for ui5-server, live compiling less files.

Prerequisites

⚠️ UI5 CLI Compatibility All releases of this UI5 CLI extension using the major version 3 require UI5 CLI V3. Any previous releases below major version 3 (if available) also support older versions of the UI5 CLI. But the usage of the latest UI5 CLI is strongly recommended!

Install

npm install ui5-tooling-less --save-dev

Configuration options (in $yourapp/ui5.yaml)

  • debug: true|false
    verbose logging

  • lessToCompile String<Array> (task relevant only) array of less resources specified as paths or glob patterns which should be compiled

Usage

  1. Define the dependency in $yourapp/package.json:
"devDependencies": {
    // ...
    "ui5-tooling-less": "*"
    // ...
}
  1. configure it in $yourapp/ui5.yaml:

The configuration for the custom task:

builder:
  customTasks:
    - name: ui5-tooling-less-task
      afterTask: replaceVersion

The configuration for the custom middleware:

server:
  customMiddleware:
    - name: ui5-tooling-less-middleware

How it works

The UI5 CLI extension can be used to compile less files in your app folder by using less-openui5.

It can also include less file from UI5 library dependencies (framework and custom ones), e.g.:

@import "/resources/sap/ui/core/themes/base/base.less";

To get all the less variable that are defined in the sap ui theme core, or, e.g.:

@import "/resources/ui5/ecosystem/showcase/lib/css/variables.less";

Important is that every less resources imported from outside the application project must use the runtime path (e.g. /resources/%project_namespace%/...) and all local less files can be imported with relative paths (e.g. ./base/base.less).

The task derives the available less files from the manifest (section: sap.ui5/resources/css) unless you specify a glob pattern in the task configuration to include e.g. all less resources:

builder:
  customTasks:
    - name: ui5-tooling-less-task
      afterTask: replaceVersion
      configuration:
        lessToCompile:
          - "**/*.less" # "css/style.less"

ℹ️ The css file corresponding to your less file needs to be maintained in the manifest as described here.

License

This work is licensed under Apache 2.0.

Built with care (and a lot of caffeine). If this helped you build, test, or ship, the next coffee — or drink — is on you when you bump into a contributor.

Apache-2.0, read

History

Latest

v3.2.5

Notes

Note: Version bump only for package ui5-tooling-less

  1. v3.2.4

    Notes

    Note: Version bump only for package ui5-tooling-less

  2. v3.2.3

    Notes

    Note: Version bump only for package ui5-tooling-less

  3. v3.2.2

    Notes

    Note: Version bump only for package ui5-tooling-less

  4. v3.2.1

    Fixes 1

    Notes
    Bug Fixes
  5. v3.2.0

    Features 1

    Notes
    Features
    • enhanced v4 compat + update dependencies (#1070) (2d7ed16)
  6. v3.1.5

    Fixes 1

    Notes
    Bug Fixes
    • handle case when lessToCompile is provided as a string value (#1027) (cad15b0)
  7. v3.1.4

    Fixes 1

    Notes
    Bug Fixes
    • ui5-tooling-less: ensure task to work on windows os (#1019) (2928475)
  8. v3.1.3

    Notes

    Note: Version bump only for package ui5-tooling-less

  9. v3.1.2

    Notes

    Note: Version bump only for package ui5-tooling-less

  10. v3.1.1

    Fixes 1

    Notes
    Bug Fixes
    • ui5-tooling-less: resolve globs relative to app namespace (#898) (eb8aca2), closes #896
  11. v3.1.0

    Features 1

    Notes
    Features
    • ui5-tooling-less: new extension harmonizing less build (#894) (91ce092), closes #710
  12. v3.0.3

    Fixes 1

    Notes
    Bug Fixes
    • ui5-task-compileless: improved resource handling (#892) (f7a7523), closes #889
  13. v3.0.2

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  14. v3.0.1

    Fixes 1

    Notes
    Bug Fixes
    • consistent request path handling of all middlewares (#833) (11ad435), closes #817
  15. v3.0.0dated in the atlas

    Breaking 1, Features 2

    Notes
    Features
    BREAKING CHANGES
    • The support for UI5 Tooling V2 has been removed
  16. v0.3.2

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  17. v0.3.1

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  18. v0.3.0

    Breaking 26, Features 1

    Notes
    Features
    BREAKING CHANGES
    • new package manager

    • refactor: updated tests to pass with pnpm

    • refactor: iasync still failing

    • feat(ui5-tooling-modules): support pnpm / node_modules symlinks

    • fix(ui5-app): make Karma work with pnpm

    • chore(ui5-app): remove uiveri5 from sample

    • chore(ui5-app): add updated wdio.conf

    • fix: make prettier and eslint work with pnpm

    • fix: fix cf_dest tests

    restructured tests and added node_modules as symlink

    • fix(ui5-app): adding eslint for wdio and mocha

    • chore(ui5-middleware-cfdestination): cleanup

    • feat(ui5-tooling-modules): add bundling support for AMD

    • chore(ui5-tooling-modules): cleanup

    • chore: fix code style

    • fix(ui5-task-flatten-library): support files without extensions

    • refactor: updated tests to pass with pnpm

    • feat(ui5-tooling-modules): support pnpm / node_modules symlinks

    • fix: make prettier and eslint work with pnpm

    • fix: update actions, lerna, vscode for pnpm

    • chore: only run test on tooling extensions

    • chore: use sequential tests for ava

    • chore: add @ui5/cli dev dependency for ava tests

    • chore: enable support for local act GH action tests

    • chore: add docu for local GitHub action execution

    • chore: docu cleanup

    • chore: re-add ncu scripts

    Co-authored-by: Peter Muessig peter.muessig@sap.com

  19. v0.2.6

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  20. v0.2.5

    Other 1

    Notes
    Reverts
    • Revert "chore: add metadata to package.json for all packages for ui5-community website (#600)" (#601) (b6037d4), closes #600 #601
  21. v0.2.4

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  22. v0.2.3

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  23. v0.2.2

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  24. v0.2.1

    Notes

    Note: Version bump only for package ui5-middleware-livecompileless

  25. v0.2.0

    Features 1

    Notes
    Features
333downloads per week, npm
Weekly downloads for ui5-tooling-less26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 333.20 Apr – 26 Apr: 1,55327 Apr – 3 May: 1,0984 May – 10 May: 1,18211 May – 17 May: 1,27218 May – 24 May: 1,27825 May – 31 May: 8221 Jun – 7 Jun: 8818 Jun – 14 Jun: 1,07715 Jun – 21 Jun: 88922 Jun – 28 Jun: 61329 Jun – 5 Jul: 6076 Jul – 12 Jul: 80413 Jul – 19 Jul: 67620 Jul – 26 Jul: 33927 Jul – 2 Aug: 5933 Aug – 9 Aug: 69810 Aug – 16 Aug: 31617 Aug – 23 Aug: 54624 Aug – 30 Aug: 34931 Aug – 6 Sept: 3857 Sept – 13 Sept: 33014 Sept – 20 Sept: 59921 Sept – 27 Sept: 83828 Sept – 4 Oct: 9155 Oct – 11 Oct: 37312 Oct – 18 Oct: 333
Build and dev-server tooling
  1. UI5 ToolsVS Code extension to serve, proxy, build and deploy UI5 projectsfrom UI5
  2. ui5-middleware-route-proxyUI5 server middleware proxying route prefixes to a backendfrom UI5
  3. ui5-task-cachebuster-indexingUI5 builder task preparing build output for the cachebusterfrom UI5
  4. ui5-task-transpile-genUI5 builder task transpiling ES6 to ES5 with Babelfrom UI5
  5. ui5-middleware-odata-recorderUI5 middleware recording OData traffic as mock server datasetsfrom UI5
  6. ui5-plugin-loaderUI5 Tooling v4 extension that registers other extensionsfrom UI5
  7. ui5-deployerUI5 Tooling module deploying Fiori/UI5 apps to SAP systemsfrom UI5
  8. ui5-task-dts-generatorUI5 builder task generating d.ts type declarationsfrom UI5
  9. ui5-task-minifierUI5 builder task minifying HTML, CSS and JSON filesfrom UI5
  10. ui5-middleware-oidcUI5 dev server middleware adding an OpenID Connect loginfrom UI5
  11. generator-ui5-library-af-deployYeoman generator for Application Frontend config in UI5 librariesfrom UI5
  12. ui5-middleware-destinationUI5 Tooling middleware proxying destinations and neo-app.json routesfrom UI5
  13. ui5-task-check-eocpUI5 build task warning when the app's UI5 version reaches EOCPfrom UI5
  14. @ui5/cliUI5 Tooling command line for project setup, dev server and buildfrom UI5
  15. ui5-task-btp-manifestUI5 Tooling task writing the service name into the importer manifestfrom UI5
  16. ui5-middleware-approuterUI5 CLI middleware proxying the dev server through @sap/approuterfrom UI5
  17. ui5-middleware-capUI5 CLI middleware running a CDS server inside the UI5 dev serverfrom UI5
  18. ui5-middleware-hmrExperimental UI5 middleware for hot module replacementfrom UI5
  19. ui5-middleware-iasyncUI5 middleware syncing interactions across browsers over websocketfrom UI5
  20. ui5-middleware-indexUI5 middleware serving a chosen welcome page at the root pathfrom UI5
  21. ui5-middleware-livereloadLive reload middleware for the UI5 dev serverfrom UI5
  22. ui5-middleware-oneloginUI5 middleware logging in with Playwright and reusing the sessionfrom UI5
  23. ui5-middleware-serveframeworkUI5 middleware serving a locally built UI5 frameworkfrom UI5
  24. ui5-middleware-servestaticUI5 middleware serving static resources from a path or npm packagefrom UI5
  25. ui5-middleware-simpleproxyDev-server middleware proxying requests to a backend systemfrom UI5
  26. ui5-middleware-ui5UI5 middleware including one UI5 application in anotherfrom UI5
  27. ui5-middleware-webjarsUI5 middleware serving static resources from JAR files (WebJars)from UI5
  28. ui5-middleware-websocketWebSocket support for Express-based dev servers such as UI5'sfrom UI5
  29. ui5-task-cachebusterUI5 builder task cachebusting standalone UI5 applicationsfrom UI5
  30. ui5-task-copyrightUI5 builder task appending copyright headers to source filesfrom UI5
  31. ui5-task-flatten-libraryUI5 builder task flattening library output for SAP NetWeaverfrom UI5
  32. ui5-task-i18ncheckUI5 builder task checking XML views for missing i18n textsfrom UI5
  33. ui5-task-minify-xmlUI5 builder task minifying XML views and fragmentsfrom UI5
  34. ui5-task-pwa-enablerUI5 builder task turning a UI5 app into a progressive web appfrom UI5
  35. ui5-task-zipperBuild task packaging the UI5 build result as a zip archivefrom UI5
  36. ui5-tooling-modulesUI5 tooling extensions loading npm packages as UI5 modulesfrom UI5
  37. ui5-tooling-stringreplaceUI5 CLI extension for string replacement during the buildfrom UI5
  38. ui5-tooling-transpileUI5 CLI extension transpiling code during the UI5 buildfrom UI5
  39. @ui5/loggerInternal logger of the UI5 CLIfrom UI5
  40. @ui5/middleware-code-coverageUI5 CLI middleware for Istanbul code coveragefrom UI5
  41. @ui5/tooling-webcDeprecated UI5 Tooling extensions for UI5 Web Components wrappersfrom UI5

Details

Sources4
npm registrydiscovered herechecked
npm registry, ui5-tooling-lessversion, releases, installschecked
packages/ui5-tooling-less/README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv3.2.5
first release
releases and cadence11, ~88d median
discovered vianpm registry
first seen in the atlas
ecosystem and domainui5, developer-experience
Contributors3

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:ui5-community-ui5-tooling-less
JSON
/artifacts/ui5-community-ui5-tooling-less.json
MCP
Connecting an agent