Skip to content

Commit

Permalink
Update CHANGELOG.md for ESM (twilio#184)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Manjesh Malavalli <mmalavalli@twilio.com>

---------

Co-authored-by: Manjesh Malavalli <mmalavalli@twilio.com>
  • Loading branch information
charliesantos and manjeshbhargav authored Jul 26, 2023
1 parent 538a50a commit 9f36a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ECMAScript Module Support
-------------------------

Currently, the SDK is imported as a [CommonJS Module (CJS)](https://nodejs.org/api/modules.html) using the root path `@twilio/voice-sdk`. With this release, the SDK contains an experimental feature that allows it to be imported as an [ECMAScript Module (ESM)](https://nodejs.org/api/esm.html) using the `@twilio/voice-sdk/esm` path. As this is an experimental feature, certain frameworks may not work such as [svelte](https://kit.svelte.dev/docs/introduction). ESM full support will be available in a future release and will become the default import behavior of the SDK.
Currently, the SDK is imported as a [CommonJS Module (CJS)](https://nodejs.org/api/modules.html) using the root path `@twilio/voice-sdk`. With this release, the SDK contains an **experimental feature** that allows it to be imported as an [ECMAScript Module (ESM)](https://nodejs.org/api/esm.html) using the `@twilio/voice-sdk/esm` path. As this is an experimental feature, some frameworks using bundlers like `Vite` and `Rollup` may not work. Full support for ESM will be available in a future release and will become the default import behavior of the SDK.

Example:

Expand Down

0 comments on commit 9f36a2a

Please sign in to comment.