Skip to content

Commit b4ac88e

Browse files
authored
fix(browser): change optimized deps to use vitest (#3580)
1 parent b097cef commit b4ac88e

File tree

3 files changed

+117
-74
lines changed

3 files changed

+117
-74
lines changed

packages/browser/src/node/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ export default (project: any, base = '/'): Plugin[] => {
5151
'@vitest/utils',
5252
],
5353
include: [
54-
'@vitest/utils > concordance',
55-
'@vitest/utils > loupe',
56-
'@vitest/utils > pretty-format',
54+
'vitest > concordance',
55+
'vitest > loupe',
56+
'vitest > pretty-format',
57+
'vitest > pretty-format > ansi-styles',
58+
'vitest > pretty-format > ansi-regex',
5759
'vitest > chai',
5860
],
5961
},

packages/ui/client/auto-imports.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ declare global {
9393
const toReactive: typeof import('@vueuse/core')['toReactive']
9494
const toRef: typeof import('vue')['toRef']
9595
const toRefs: typeof import('vue')['toRefs']
96+
const toValue: typeof import('vue')['toValue']
9697
const triggerRef: typeof import('vue')['triggerRef']
9798
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
9899
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']

0 commit comments

Comments
 (0)