Skip to content

Commit afc1552

Browse files
committed
test: tsup.build开启sourcemap
1 parent bf75812 commit afc1552

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lib/rebuild-dist.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ beforeAll(async () => {
1313
await tsup.build({
1414
entry: ['test/fixtures/index.ts'],
1515
outDir: 'test/fixtures/dist',
16+
sourcemap: true,
1617
dts: true,
1718
legacyOutput: true,
1819
});
1920
await tsup.build({
2021
entry: ['test/fixtures/index.ts'],
2122
outDir: 'test/fixtures/backup',
23+
sourcemap: true,
2224
dts: true,
2325
legacyOutput: true,
2426
});

0 commit comments

Comments
 (0)