native icon indicating copy to clipboard operation
native copied to clipboard

Build should fail if builder requests non-linked assets but `hook/build.dart` emits assets with linker

Open mkustermann opened this issue 1 year ago • 1 comments
trafficstars

mkustermann avatar Aug 09 '24 08:08 mkustermann

I thought we had an issue to track that we should add a validation step, but I can't find it.

There's a bunch of other things to verify:

  • assetsForLinking should be empty if linking is not supported
  • only output asset types that are supported by the embedder
  • files mentioned in assets actually exist
  • native code assets for bundling should have a supported linking type
  • build hooks should only output assets in their own package namespace

dcharkes avatar Aug 09 '24 10:08 dcharkes