-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.utils.ts
More file actions
43 lines (42 loc) · 963 Bytes
/
vitest.config.utils.ts
File metadata and controls
43 lines (42 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* SPDX-FileCopyrightText: 2025 Zextras <https://www.zextras.com>
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
export function getOptimizeDepsInclude() {
return [
'react',
'react-dom',
'react-dom/client',
'react/jsx-runtime',
'react/jsx-dev-runtime',
'i18next',
'react-i18next',
'react-router',
'ua-parser-js',
'i18next-http-backend',
'lodash-es',
// date-fns locales
'date-fns/locale/zh-CN',
'date-fns/locale/nl',
'date-fns/locale/en-US',
'date-fns/locale/de',
'date-fns/locale/hi',
'date-fns/locale/hu',
'date-fns/locale/it',
'date-fns/locale/ja',
'date-fns/locale/pt',
'date-fns/locale/pl',
'date-fns/locale/ro',
'date-fns/locale/ru',
'date-fns/locale/es',
'date-fns/locale/th',
'date-fns/locale/tr',
'date-fns/locale/fr',
'date-fns/locale/vi',
'date-fns/locale/bs',
'date-fns/locale/sl',
'msw',
'msw/browser',
];
}