Blocks don't work on build time with static query
rodrigo-arias opened this issue · comments
Hi @pristas-peter,
I am trying to do this: https://github.com/rodrigo-arias/gatsby-wordpress-demo/blob/master/src/pages/index.js
Everything works fine with develop, but breaks at build time
I also found an error that maybe is related gatsbyjs/gatsby-source-wordpress-experimental#105
The issue only happens using the blocks
"gatsby": "^2.24.31"
"gatsby-source-wordpress-experimental": "^1.2.6"
Do you think the static query should not affect the blocks and is there something else?
Thank you
The were some changes in gatsby lately on how the static queries are bundled, so I guess the problem is somewhere down that road.
Thanks Peter, it's good to know that you know where the issue can come from. It will be great when you get a chance to check it out