I misused /src/init.php for enqueing scripts/styles not related to blocks, specifically styles for use in the admin area. I've now moved the section in question to the /src/inc/class-cloudflare-stream-settings.php file with commit 8014c0c3ca8a43ea703fa79a41d9d4689b29153d.
/src/init.php is used exclusively for blocks, which isn't obvious from the filename. In my prior plugin projects, the comparable file would be used for broader plugin initialisation, hence the mix-up.
I misused /src/init.php for enqueing scripts/styles not related to blocks, specifically styles for use in the admin area. I've now moved the section in question to the
/src/inc/class-cloudflare-stream-settings.php
file with commit 8014c0c3ca8a43ea703fa79a41d9d4689b29153d./src/init.php
is used exclusively for blocks, which isn't obvious from the filename. In my prior plugin projects, the comparable file would be used for broader plugin initialisation, hence the mix-up.