Skip to content

Commit 554847b

Browse files
authored
test: fix resolve.mainFields.custom-first test flaky fail (vitejs#20438)
1 parent 24e6a0c commit 554847b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playground/resolve/vite.config-mainfields-custom-first.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ config.resolve.mainFields = [
33
'custom',
44
...config.resolve.mainFields.filter((f) => f !== 'custom'),
55
]
6+
config.build.outDir = 'dist-mainfields-custom-first'
67
export default config

0 commit comments

Comments
 (0)