mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
feat: support code coverage (#1414)
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user