Skip to content

Commit

Permalink
chore: use flatMap instead of map_flat in rollup config (#4138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Connormiha authored Sep 18, 2023
1 parent b4d5ae2 commit 417e868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const external = [
export default () => [
'index',
'reporter',
].map(entry => [
].flatMap(entry => [
{
input: `./node/${entry}.ts`,
output: {
Expand Down Expand Up @@ -57,7 +57,7 @@ export default () => [
dts(),
],
},
]).flat()
])

function onwarn(message) {
if (['EMPTY_BUNDLE', 'CIRCULAR_DEPENDENCY'].includes(message.code))
Expand Down

0 comments on commit 417e868

Please sign in to comment.