Boggs_Daniel | 2025-01-02 15:35:10 UTC | #1
As of version JS SDK v212, I'm seeing a vite build warning:
[plugin:vite:resolve] [plugin vite:resolve] Module "https" has been externalized for browser compatibility, imported by "readacted/node_modules/purecloud-platform-client-v2/src/purecloud-platform-client-v2/ApiClient.js". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
purecloud-platform-client-v2 212.0.0 vite 6.0.6
I'm not sure if this causes any behavioral issues, or if it's just emitting noise (which is impactful).
Thanks!!
Jerome.Saint-Marc | 2025-01-03 14:34:33 UTC | #2
Hello,
Thanks for reporting this. We will try to take a look at it when possible (and I'll update this post).
Just to make sure we understand and can troubleshoot: Do you mean that your build was ok with previous version of the JS SDK? And that starting with v212, you now have a warning on the https module?
Regards,
Boggs_Daniel | 2025-01-07 14:48:40 UTC | #3
To the best of my knowledge, yes, it didn't have the warning for many versions prior.
Jerome.Saint-Marc | 2025-01-07 15:03:27 UTC | #4
Ok. We have a fix pending - or let's say attempt to fix this (as I didn't try to reproduce it). I'll let you know when we create a new SDK version. We'll try to issue a minor release in the next days if e can.
Jerome.Saint-Marc | 2025-01-13 08:17:33 UTC | #5
Hello,
We have a made a change on the 'https' module import in version 212.1.0. Can you try it and let us know if it resolves your issue?
Regards,
Boggs_Daniel | 2025-01-13 13:57:38 UTC | #6
Yes, it's resolved. No longer seeing the warning.
Thank you!
system | 2025-02-13 13:57:47 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 31025