You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a limitation of the config option / ATP in general. The value has to be JSON serializable so that the config can be turned into a virtual module and functions cannot be serialized into JSON.
Supporting something like this may be possible using @inox-tools/inline-mod, more details in this issue here: #32
Yuhanawa
added a commit
to Yuhanawa/astro-theme-provider
that referenced
this issue
Dec 7, 2024
problem
index.ts in theme
astro.config.ts in playground
file in theme
possible reason
astro-theme-provider/package/src/index.ts
Line 123 in dd63fc8
using
JSON.stringify
in this linepossible solution
The text was updated successfully, but these errors were encountered: