如何将微绑定crl配置为不绑定作为测试的文件



我将测试与模块放在同一个文件夹中,以避免在树上跳转。绑定时是否可以让microbundle crl跳过测试文件?

我正试着在回购中这样做https://github.com/trajano/react-hooks-tests

这实际上是由于tsc而不是微束。

只需添加tsconfig.json

"exclude": ["**/*.test.ts", "**/*.test.tsx", "src/test-support/*"]

最新更新