feat: support code coverage (#1414)

This commit is contained in:
Himself65
2023-03-08 02:29:50 -06:00
committed by GitHub
parent 75a7e2339c
commit 049d6dd83f
3 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -56,9 +56,10 @@ const nextConfig = {
},
experimental: {
swcPlugins: [
process.env.COVERAGE === 'true' && ['swc-plugin-coverage-instrument', {}],
['@swc-jotai/debug-label', {}],
// ['@swc-jotai/react-refresh', {}],
],
].filter(Boolean),
},
reactStrictMode: true,
transpilePackages: [