Open simonvbrae opened 1 month ago
Thanks @simonvbrae, looks good!
Can you confirm build and serving works correctly in these cases? (because the CI currently only checks one of these)
yarn run dev
(yarn run dev-prod
should be the same)yarn run build
node bin/generate.js
If yes, I'll merge this right away!
I have tested all of the options, it's ready for merge!
This is a draft PR, I am still making changes.
Calling
yarn run dev
would result in the queries.json file being moved tobuild/
after generation resulting in missing data sources and queries in the development server. This PR changes lets thatmove
happen outside of webpack so it doesn't happen when runningyarn run dev
, only when runningyarn run build
.