1

I have my tests in the same folder as my module to avoid having to jump around the tree. Is it possible to make microbundle-crl skip the test files when bundling?

I am trying to do it on my repo https://github.com/trajano/react-hooks-tests

Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265

1 Answers1

1

Its actually due to tsc rather than microbundle.

Just add in tsconfig.json

"exclude": ["**/*.test.ts", "**/*.test.tsx", "src/test-support/*"]
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265