diff --git a/.changelog/6045-feat-directlinespeech-tsup.md b/.changelog/6045-feat-directlinespeech-tsup.md new file mode 100644 index 0000000000..9998164129 --- /dev/null +++ b/.changelog/6045-feat-directlinespeech-tsup.md @@ -0,0 +1,7 @@ +### Changed + +- Built `botframework-directlinespeech-sdk` with tsup only, replacing Babel and webpack, in PR [#6045](https://github.com/microsoft/BotFramework-WebChat/pull/6045), by [@OEvgeny](https://github.com/OEvgeny) + +### Removed + +- 💥 `botframework-directlinespeech-sdk` no longer ships Babel's `lib/` folder: deep imports from `lib/` stop working where `exports` is ignored (webpack 4), in PR [#6045](https://github.com/microsoft/BotFramework-WebChat/pull/6045), by [@OEvgeny](https://github.com/OEvgeny) diff --git a/docs/BUILD_SCRIPTS.md b/docs/BUILD_SCRIPTS.md index 98179b950c..7477b4e824 100644 --- a/docs/BUILD_SCRIPTS.md +++ b/docs/BUILD_SCRIPTS.md @@ -100,20 +100,19 @@ This section lists verification steps to validate the implementation against the - No instrumentation code (smaller than test builds) - Direct Line Speech SDK - This is tested separately as Direct Line Speech SDK is designed not to live in our monorepo structure + - One `tsup` build produces every output in `dist/` + - `import` loads `botframework-directlinespeech-sdk.mjs`, `require()` loads `botframework-directlinespeech-sdk.js`, with types in `.d.mts` and `.d.ts` + - `