Open mpelham opened 1 year ago
@mpelham Thanks for the feedback, glad this was helpful to you! I'll try to get your suggestions incorporated soon-ish; free time is hard to come by 😆
Thanks @mpelham, spent hours figuring out the problem and your solution works just perfectly for me :+1:
Great example! Was super helpful in getting myself setup. The Caveats on App Router are slightly out of date, I was able to follow your example, and then upgrade to
"swc-plugin-coverage-instrument": "^0.0.20",
.After that, my
next build
was failing locally, first when loading a font.Adding the
/* istanbul ignore next */
got me past this step.After that, locally the app was failing
module not found
forfs
.I had to add this to my
next.config.ts
But, after that, things worked great!
Also, I was able to get this working on Github Actions for CI / CD, here's an example Github Action!
Thanks again for the great example!