diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index c53e2fcc2ec..0336b0c7e69 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -716,7 +716,8 @@ namespace ts { } // Skip over any minified JavaScript files (ending in ".min.js") - if (/\.min\.js$/.test(fileName)) { + // Skip over dotted files and folders as well + if (/\.min\.js$/.test(fileName) || /[\\/]\.[\w.]/.test(fileName)) { continue; }