Skip to content

Commit

Permalink
exclude translations from vite coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 17, 2024
1 parent d2c69bd commit 45bb11d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineConfig({
exclude: [
// Default
'coverage/**',
'dist/**',
'**/dist/**',
'**/[.]**',
'packages/*/test?(s)/**',
'**/*.d.ts',
Expand All @@ -39,6 +39,8 @@ export default defineConfig({
'test?(s)/**',
'test?(-*).?(c|m)[jt]s?(x)',
'**/*{.,-}{test,spec}.?(c|m)[jt]s?(x)',
'**/translations/*.json.js',
'*.module.css.js',
'**/__tests__/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,lint-staged,remix,astro}.config.*',
'**/vitest.{workspace,projects}.[jt]s?(on)',
Expand Down

0 comments on commit 45bb11d

Please sign in to comment.