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
If you import getServerFunctionMeta from @solidjs/start/server in a file related to a route, this creates a circular import, because StartServer also resides in @solidjs/start/server. Most of the time vite seems to be able to prevent this from breaking the app. But in some cases (especially during vite dev) it fails and the circular import will lead to getServerFunctionMeta being undefined.
Expected behavior 🤔
You should be able to import getServerFunctionMeta without introducing a circular import.
The text was updated successfully, but these errors were encountered:
Duplicates
Latest version
Current behavior 😯
If you import
getServerFunctionMeta
from@solidjs/start/server
in a file related to a route, this creates a circular import, becauseStartServer
also resides in@solidjs/start/server
. Most of the time vite seems to be able to prevent this from breaking the app. But in some cases (especially duringvite dev
) it fails and the circular import will lead togetServerFunctionMeta
being undefined.Expected behavior 🤔
You should be able to import
getServerFunctionMeta
without introducing a circular import.The text was updated successfully, but these errors were encountered: