Skip to content

Commit bb48cc5

Browse files
filipesilvahansl
authored andcommitted
build: don't publish _spec.d.ts files
1 parent dc58e84 commit bb48cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export default function(_: {}, logger: Logger) {
225225
for (const packageName of sortedPackages) {
226226
specLogger.info(packageName);
227227
const pkg = packages[packageName];
228-
const files = glob.sync(path.join(pkg.dist, '**/*_spec.js'));
228+
const files = glob.sync(path.join(pkg.dist, '**/*_spec.@(js|d.ts)'));
229229
specLogger.info(` ${files.length} spec files found...`);
230230
files.forEach(fileName => _rm(fileName));
231231
}

0 commit comments

Comments
 (0)