Skip to content

Commit af5e1a4

Browse files
committed
fix: exclude .d.ts files from rollup input entries
1 parent f5656eb commit af5e1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/entry-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function getEntryFiles(
1313
let entries: (readonly [string, string])[] = [
1414
...glob
1515
.sync("src/*.ts")
16-
.filter((f) => !/(\.(test|spec)\.ts$)|(\/__test__\/)/.test(f))
16+
.filter((f) => !/(\.(d|test|spec)\.ts$)|(\/__test__\/)/.test(f))
1717
.map((f) => [path.parse(f).name, f] as const),
1818
...glob
1919
.sync("src/*/index.ts")

0 commit comments

Comments
 (0)