Export renderer
and Renderer
based on environment from @b9g/crank/standalone
#256
Labels
enhancement
New feature or request
It’s annoying to import the new jsx template tag from
standalone
, and also have to import a renderer for the respective environment. I’m wondering if we can use some sort of environment detection mechanism to have the correct one imported.Before:
After:
How do we determine environment? I don’t like using non-standard package.json exports, and exports conditions are really confusing. I honestly just want to do top-level await imports.
The text was updated successfully, but these errors were encountered: