A shared() value read through a namespace import
The message
MARKLESS_SHARED_NAMESPACE_REFERENCE: `<path>` reads the shared() value "<definitionName>" through a namespace import, which this build does not lower yet.
A shared() value is lowered from the binding a component reads it through. Through a namespace object there is no such binding, so the read would reach no graph node.
Import it by name from the module that exports it, then read it directly: `import { <definitionName> } from '<that module>'` and `<definitionName>.<field>`.
https://markless.dev/errors/MARKLESS_SHARED_NAMESPACE_REFERENCEWords in angle brackets change from case to case.
Why
A shared() value is lowered from the binding a component reads it through. Through a namespace object there is no such binding, so the read would reach no graph node.
Fix
Import it by name from the module that exports it, then read it directly: `import { <definitionName> } from '<that module>'` and `<definitionName>.<field>`.
Related
Where Markless raises it
Button sounds are from Josh Comeau's Button Sounds library.