We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6915ec5 commit 762a65aCopy full SHA for 762a65a
scripts/build.ts
@@ -184,7 +184,7 @@ export default function(_: {}, logger: Logger) {
184
}
185
186
// Skip sources.
187
- if (fileName.endsWith('.ts')) {
+ if (fileName.endsWith('.ts') && !fileName.endsWith('.d.ts')) {
188
// Verify that it was actually built.
189
if (!fs.existsSync(path.join(pkg.dist, fileName).replace(/ts$/, 'js'))) {
190
subSubLogger.error(`\nSource found but compiled file not found: "${fileName}".`);
0 commit comments