native icon indicating copy to clipboard operation
native copied to clipboard

[native_assets_cli] Document what should be done in build hooks and link hooks

Open dcharkes opened this issue 1 year ago • 0 comments

Build hooks have better caching behavior (no resources.json, only its own list of dependencies) so building native code or downloading assets should be done there. A link hook should only do linking/tree shaking.

Also: document that build output and link output are supposed to work like sinks.

dcharkes avatar May 22 '24 08:05 dcharkes