SAP-archive / grunt-openui5

Grunt tasks around OpenUI5
Apache License 2.0
90 stars 34 forks source link

component preload does not include manifest.json #46

Closed DirkSW closed 5 years ago

DirkSW commented 7 years ago

Hi we are using the manifest.json within UI5 components. Is it possible to include this in defaultResourcePatterns. Or do we need to explicit do this in grunt command ?

thanks & regards, Dirk

matz3 commented 7 years ago

For now you can just explicitly include it in your configuration but it actually makes sense to include it by default.

I guess it should not be part of the defaultResourcePatterns but rather explicitly included from the same path as the library.js / Component.js file.

mathiseelan02 commented 5 years ago

@matz3 is there any update about adding component-preload in manifest.json?

matz3 commented 5 years ago

@mathiseelan02 in the meanwhile we've published the UI5 Tooling as a successor of this grunt tasks. There, the component preloads include the manifest.json by default (see ui5-builder module).

Therefore closing this issue.

mathiseelan02 commented 5 years ago

@matz3 - Currently component-preload file is cached in the browser, is there is a way to avoid this. Cant able to use cache-buster as we are using HANA.

So is there is a way to explicitly include component-preload, similar to manifestUrl in configuration.

matz3 commented 5 years ago

See #81

mathiseelan02 commented 5 years ago

Currently, the component-preload file loaded from ui5loader-dbg.js is there a way to load it externally?