I have an Astro project (https://docs.astro.build/en/getting-started/) that was daggerized. Whenever I ran npm run build to statically build my project, I got a TypeScript error because the command npm run build also runs by default astro check (https://docs.astro.build/en/reference/cli-reference/#astro-check).
I found two solutions:
- Rename the
daggerfolder to.dagger, which requires to update thedagger.jsonaccordingly. - Include the exclude property in the
tsconfig.jsonfile of my project:"exclude": ["dagger"].
Is that the right way to do that or am I missing something?