Skip to content

Commit 086b7c4

Browse files
committed
chore: update
1 parent 563514a commit 086b7c4

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

benchmark/index.bench.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ describe('express-plugin', () => {
88
const cwd = getCwdByExample('express-plugin');
99
await rslibBuild(cwd);
1010
},
11-
{ time: 10 },
11+
{ time: 3 },
1212
);
1313
});

benchmark/vitest.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default defineConfig({
66
test: {
77
...shared,
88
name: 'bench',
9+
benchmark: {
10+
outputFile: './results.json',
11+
outputJson: './bench.json',
12+
reporters: ['verbose'],
13+
},
914
},
10-
plugins: [codspeedPlugin()],
15+
// plugins: [codspeedPlugin()],
1116
});

examples/express-plugin/rslib.config.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
import { defineConfig } from '@rslib/core';
22

3-
const shared = {
4-
dts: {
5-
bundle: false,
6-
},
7-
};
8-
93
export default defineConfig({
104
lib: [
115
{
12-
...shared,
136
format: 'esm',
7+
dts: false,
148
output: {
159
distPath: {
1610
root: './dist/esm',
1711
},
1812
},
1913
},
2014
{
21-
...shared,
15+
dts: false,
2216
format: 'cjs',
2317
output: {
2418
distPath: {

0 commit comments

Comments
 (0)