SAP / ui5-tooling

An open and modular toolchain to develop state of the art applications based on the UI5 framework
https://sap.github.io/ui5-tooling
Apache License 2.0
466 stars 69 forks source link

Can ui5 tooling bundle external css files ? how ? #271

Open Victor716 opened 3 years ago

Victor716 commented 3 years ago

Can ui5 tooling bundle external css files ? how ?

I got this in my ui5.yaml but got nothing in return. Is there anything wrong with the config?

- bundleDefinition:
      name: style_bundle.css
      defaultFileTypes:
      - ".css"
      sections:
      - mode: preload
        filters:
        - little/demo/css/**.css
        resolve: true
        sort: true
    bundleOptions:
      optimize: true
      usePredefineCalls: true

Affected components (if known)

svbender commented 3 years ago

Bundling CSS files is currently not possible. This issue is similar to: https://github.com/SAP/ui5-tooling/issues/359