How to use in browser?
How to use with browser? My setup is "vue3 vite typescript"
What i get:
```
Module "util" has been externalized for browser compatibility.
Cannot access "util.promisify" in client code.
See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility
for more details.
Uncaught TypeError: util.promisify is not a function
at node_modules/webp-wasm/index.js (index.js:144:28)
at __require (chunk-LQ2VYIYD.js?v=96781a35:8:50)
at index.js:146:63
```
关闭于 2024-07-09 3 条评论