native
native copied to clipboard
[native_assets_cli] Document what should be done in build hooks and link hooks
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.