Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fauna webpack config #550

Merged
merged 1 commit into from
Oct 21, 2021
Merged

Conversation

vasco-santos
Copy link
Contributor

This PR fixes fauna webpack config. We added alias for cross-fetch because of Postgrest, however this causes fauna queries to error with Right-hand side of 'instanceof' is not an object.

Given we want to support both DBs until Postgres is live (swappable via ENV var), I tweaked the webpack config to only add cross-fetch alias when we have Postgres.

@vasco-santos vasco-santos merged commit c686130 into chore/db-migration Oct 21, 2021
@vasco-santos vasco-santos deleted the fix/fauna-webpack-config branch October 21, 2021 13:17
vasco-santos added a commit that referenced this pull request Oct 22, 2021
@vasco-santos vasco-santos mentioned this pull request Oct 22, 2021
vasco-santos added a commit that referenced this pull request Oct 22, 2021
vasco-santos added a commit that referenced this pull request Oct 22, 2021
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.

2 participants