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
When using Vite6.0.4 and ra-data-hasura0.7.0, the application works correctly in local development (when running npm run dev or vite). However, when building for production (npm run build or vite build) with minification disabled for debugging purposes, the following error occurs:
When using Vite
6.0.4
and ra-data-hasura0.7.0
, the application works correctly in local development (when runningnpm run dev
orvite
). However, when building for production (npm run build
orvite build
) with minification disabled for debugging purposes, the following error occurs:gqlTypes.name is not a function
This issue arises in the file
ra-data-hasura/src/buildGqlQuery/buildArgs.ts
Line 106 in c27b2ff
Root Cause:
Upon investigation, it appears that the line below is being removed by tree shaking, which leads to the error:
ra-data-hasura/src/graphql-ast-types-browser/index.js
Line 25 in c27b2ff
The text was updated successfully, but these errors were encountered: