Skip to content

Commit 1f133ba

Browse files
authored
test: speed up UT by external @rsbuild/core (#5558)
1 parent d661172 commit 1f133ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rstest.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ export default defineConfig({
1313
// TODO: try to find closest tsconfig.json
1414
tsconfigPath: 'packages/core/tsconfig.json',
1515
},
16+
output: {
17+
externals: ['@rsbuild/core'],
18+
},
1619
name: 'node',
1720
globals: true,
1821
restoreMocks: true,

0 commit comments

Comments
 (0)