diff --git a/packages/text-to-speech/src/index.ts b/packages/text-to-speech/src/index.ts index 5c4902fdf..d38adbf8b 100644 --- a/packages/text-to-speech/src/index.ts +++ b/packages/text-to-speech/src/index.ts @@ -13,7 +13,7 @@ import { TextToSpeechInput, } from './textToSpeech' import { File, Storage } from '@google-cloud/storage' -import { endSsml, startSsml } from './htmlToSsml' +import { endSsml, htmlToSpeechFile, startSsml } from './htmlToSsml' import crypto from 'crypto' import { createRedisClient } from './redis' @@ -236,3 +236,9 @@ export const textToSpeechStreamingHandler = Sentry.GCPFunction.wrapHttpFunction( } } ) + +module.exports = { + htmlToSpeechFile, + textToSpeechStreamingHandler, + textToSpeechHandler, +} diff --git a/packages/text-to-speech/tsconfig.json b/packages/text-to-speech/tsconfig.json index c980a6b1f..42c16d244 100644 --- a/packages/text-to-speech/tsconfig.json +++ b/packages/text-to-speech/tsconfig.json @@ -7,5 +7,5 @@ // Generate d.ts files "declaration": true }, - "include": ["src", "test"], + "include": ["src"], }