Skip to content

Conversation

@jaygiang
Copy link
Collaborator

No description provided.

@thgaskell
Copy link
Contributor

I think the useRadFishConfig functionality could be pulled into vite-plugin-radfish-theme.js to expose constants directly from Vite.

So inside the template code it could reference values, rather than relying on the config provider:
Example:

<h1>{import.meta.env.RADFISH_APP_NAME}<h1>

Additionally, I think the plugin could also make use of the closeBundle hook to write RADFish theme values directly to the manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants