You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! We are using the SDK for Web Inbox testing. After upgrading to version 1.13.0, we get a warning when building the app. We have a Nuxt 3 app with SSR enabled. The CleverTap web SDK is integrated as a client-side plugin. Any idea on how to solve this? Thanks!
[plugin:vite:resolve] [plugin vite:resolve] Module "crypto" has been externalized for browser compatibility, imported by "/home/runner/work/taste-network/taste-network/node_modules/clevertap-web-sdk/clevertap.js".
The text was updated successfully, but these errors were encountered:
@adrianostas can you share how you are initialising CleverTap?
Here is my hunch: Clevertap code is getting executed on the server which is why you are getting that warning.
Thanks for your reply. Normally, it should not because the plugin is prefixed with .client it should run only on the client and not on the server. We switched to manually injecting the script because the SDK was increasing our bundle size. BTW do you have some examples that I can follow for a custom web Inbox integration?
Hey! We are using the SDK for Web Inbox testing. After upgrading to version 1.13.0, we get a warning when building the app. We have a Nuxt 3 app with SSR enabled. The CleverTap web SDK is integrated as a client-side plugin. Any idea on how to solve this? Thanks!
[plugin:vite:resolve] [plugin vite:resolve] Module "crypto" has been externalized for browser compatibility, imported by "/home/runner/work/taste-network/taste-network/node_modules/clevertap-web-sdk/clevertap.js".
The text was updated successfully, but these errors were encountered: