Replies: 1 comment 1 reply
-
Emmm, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tyried to use ndoejs https module in my code (import and use https directly in code without installing the package with npm), and run it in browser.
I got the below exception:
Uncaught Error: Module "https" has been externalized for browser compatibility and cannot be accessed in client code.
at Object.get (__vite-browser-external:https:3)
at request.js:16
It seems that the https in runtime is linked to __vite-browser-external:https.
Can anyone help to finger out how can I use https with vite2?
thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions