specVersion: "2.6"
type: library
metadata:
  name: sap.esh.search.ui
framework:
  name: SAPUI5
  libraries:
    - name: sap.m
    - name: sap.f
    - name: sap.ui.core
    - name: sap.ui.layout
    - name: sap.ui.vbm
    - name: sap.ui.vk
    - name: sap.ui.export
    - name: sap.suite.ui.microchart
    - name: themelib_sap_belize
      optional: true
    - name: themelib_sap_bluecrystal
      optional: true
    - name: themelib_sap_fiori_3
      optional: true
    - name: themelib_sap_horizon
      optional: true
builder:
  # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  # !!! The "resources" section must be in sync with ../ui5.yaml !!!
  # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  resources:
    excludes:
      # just include the necessary test-resources
      - "/test-resources/mocha/**"
      - "/test-resources/qunit/**"
      - "/test-resources/testcafe/**"
      - "/test-resources/uicomponent/**"
      #- "!/test-resources/sap/esh/search/ui/**" # doesn't work as expected (includes all resources in tools somehow)
      # eshObjects only src/ folder to be included:
      - "/resources/sap/esh/search/ui/sinaNexTS/providers/hana_odata/eshObjects/*"
      - "/resources/sap/esh/search/ui/sinaNexTS/providers/hana_odata/eshObjects/test/**"
      # - "/resources/sap/esh/search/ui/sinaNexTS/providers/mock/**"
      # remove folklorist suv-file
      - "/resources/**/sample/docs/**"
      # the stuff below should not be included (excludes are needed as eshObjects contains these files)
      # - "/resources/**/sample2/**/*.csv"
      # - "/resources/**/sample2/**/*.json"
      - "/resources/**/.vscode/**"
      - "/resources/**/.pipeline/**"
  minification:
    excludes:
      - "sap/esh/search/ui/container/Component-preload.js" # File exists in source. No -dbg variant should be created.
