Skip to content

Commit ea26ce3

Browse files
author
nyqykk
committed
chore: add benchmark
1 parent 5cbadc4 commit ea26ce3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/benchmark/index.bench.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,12 @@ describe('benchmark Rslib in examples', () => {
4444
},
4545
{ iterations },
4646
);
47+
bench(
48+
'examples/module-federation/mf-react-component',
49+
async () => {
50+
const cwd = getCwdByExample('module-federation/mf-react-component');
51+
await rslibBuild({ cwd, modifyConfig: disableDts });
52+
},
53+
{ iterations },
54+
);
4755
});

0 commit comments

Comments
 (0)