Open Niputi opened 3 years ago
@Niputi thanks for this suggestion! This is definitely an improvement and our team will consider it. However, this is currently low in priority due to other higher priority product features. But we can keep this open and continue the discussion.
+1 More and more VueJS projects are migrating now from vue-cli (Webpack) to vite (Rollup). There is a real demand for twilio js sdk to be bundler-agnostic.
@Niputi could you tell what workarounds have you managed to find?
I submitted an internal ticket to investigate this further.
@charliesantos any updates?
I'm getting this kind of error when I try to use twilio-video^2.16.0 with sveltekit or Angular 12
Sveltekit
Angular12
Is there any workaround to this?
Is this project still being actively developed? Would really, really like ESM.
Code to reproduce the issue:
https://github.com/Niputi/vite-tests/tree/twilio-video
Expected behavior:
I see the package.json of this module declares that it can be used from version 0.12 of node.js. if modules code structure would be following node release schedule, it would help help with https://github.com/twilio/twilio-video.js/issues/1272
Actual behavior:
can't use twilio modules in esm environment without workarounds
TODO
Software versions: