Skip to content

[native_assets_cli] Fallback asset types supportedAssetTypes #2154

Open
@dcharkes

Description

@dcharkes

Hook authors might want to use a certain asset type if available, and another one if the first one is not available.

For these it could be useful to have an input.config.supportedAssetTypes which signals with which input.config.buildAssetTypes the hook will be invoked besides the current invocation.

Edit: The SDKs could invoke the hooks for all asset types and based on asset-ids decide for one asset over another. However, the Dart code might make the JarAsset available under a different asset ID than the CodeAsset. (Or a JarAsset might not even have an asset ID.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions