diff --git a/src/index.ts b/src/index.ts index 6ec64ddf..19c7b357 100644 --- a/src/index.ts +++ b/src/index.ts @@ -216,7 +216,7 @@ const typescript: PluginImpl = (options) => // always checking on fatal errors, even if options.check is set to false typecheckFile(id, snapshot, contextWrapper); // since no output was generated, aborting compilation - this.error(red(`failed to transpile '${id}'`)); + this.error(red(`Emit skipped for '${id}'. See https://github.com/microsoft/TypeScript/issues/49790 for potential reasons why this may occur`)); } const references = getAllReferences(id, snapshot, parsedConfig.options);