Skip to content

Commit b94700c

Browse files
committed
fix: inject dist in pkg-config.ts so it works for packages with lib outDir
1 parent 5669a52 commit b94700c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/pkg-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export function pkgConfigTemplate(options: {outDir: string; flags: InitFlags}):
1414
1515
export default defineConfig({
1616
legacyExports: true,
17+
dist: '${outDir}',
1718
tsconfig: 'tsconfig.${outDir}.json',
1819
1920
// Remove this block to enable strict export validation

0 commit comments

Comments
 (0)