Skip to content

Commit f858462

Browse files
committed
Rename all .d.ts files to .ts
This allows us to avoid having a `cp ./src/**/*.d.ts` step, since TypeScript will now automatically create them for us.
1 parent bfd05f7 commit f858462

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

buildpackage.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,6 @@ const UglifyES = require("uglify-es");
2929
process.exit(1);
3030
}
3131

32-
// Copy ts files to bin
33-
console.log("# Copy declare files to bin.");
34-
try {
35-
await copy(path.join(__dirname, "src"), path.join(__dirname, "bin"), {
36-
filter: f => {
37-
return f.endsWith(".d.ts");
38-
},
39-
});
40-
} catch (e) {
41-
console.log("Copy failed. " + error);
42-
}
43-
4432
// Uglify JavaScript
4533
console.log("# Minifying JS using the UglifyES API, replacing un-minified files.");
4634
let count = 0;
File renamed without changes.

0 commit comments

Comments
 (0)