[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

chore: use flatMap instead of map_flat in rollup config (#4138)

authored by

Mikhail and committed by
GitHub
(Sep 18, 2023, 2:46 PM +0200) 417e8684 b4d5ae23

+2 -2
+2 -2
packages/ui/rollup.config.js
··· 21 21 export default () => [ 22 22 'index', 23 23 'reporter', 24 - ].map(entry => [ 24 + ].flatMap(entry => [ 25 25 { 26 26 input: `./node/${entry}.ts`, 27 27 output: { ··· 57 57 dts(), 58 58 ], 59 59 }, 60 - ]).flat() 60 + ]) 61 61 62 62 function onwarn(message) { 63 63 if (['EMPTY_BUNDLE', 'CIRCULAR_DEPENDENCY'].includes(message.code))