I’m building a new headless store with Frontity and I’m facing a weird issue; the build catalog seems to be cached in some way. I hit errors with references to undefined variables when running npx frontity serve, even though the variable doesn’t exist anymore in my package.
I’m using a setup with Bitbucket Pipelines which automatically pulls the code, runs npx frontity build and then restarts the npx frontity serve. But this shouldn’t matter since I’ve a) done this manually, outside of the pipelines and b) deleted the build-catalog between my tries. Still the same result.
It’s really weird, seems like it’s caching the build result in some other catalog and then using that to recreate npx frontity build. Am I missing out on some important variable that I need to supply to the npx frontity build to make it force a complete rebuild?
Thank you in advance.