Skip to content

Commit f72d8a1

Browse files
committed
fix(test): exclude vitest-dev LICENSE.md from bundle
vitest-dev ships LICENSE.md which bundleVitest() copies into the package directory. npm auto-includes any LICENSE* file, so the published package ends up with both LICENSE (our merged one) and LICENSE.md (vitest's). Exclude it since our generateLicenseFile already produces the correct merged LICENSE.
1 parent 46584fe commit f72d8a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/test/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ async function bundleVitest() {
444444
join(vitestSourceDir, 'node_modules/**'),
445445
join(vitestSourceDir, 'package.json'),
446446
join(vitestSourceDir, 'README.md'),
447+
join(vitestSourceDir, 'LICENSE.md'),
447448
],
448449
});
449450

0 commit comments

Comments
 (0)