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
Currently, results uses a lot of survey-specific code (components, configs, etc.) which is all imported using webpack alias. But that means it has to live in monorepo instead of surveys.
Config such as colors, etc. could potentially be made available through the API (even though this is not always ideal since it's more work compared to just importing; and also it's harder to ensure proper types), but that doesn't work for components such as a survey's animated logo.
Is there a way to import from the survey repo based on the currently active editionId in results's .env file?
The text was updated successfully, but these errors were encountered:
Currently,
results
uses a lot of survey-specific code (components, configs, etc.) which is all imported using webpack alias. But that means it has to live inmonorepo
instead ofsurveys
.Config such as colors, etc. could potentially be made available through the API (even though this is not always ideal since it's more work compared to just
import
ing; and also it's harder to ensure proper types), but that doesn't work for components such as a survey's animated logo.Is there a way to
import
from thesurvey
repo based on the currently activeeditionId
inresults
's.env
file?The text was updated successfully, but these errors were encountered: