openimsdk / open-im-sdk-web-wasm

JS SDK for OpenIM Web use by Webassembly of go
https://openim.io
Apache License 2.0
29 stars 37 forks source link

Bug: This error occurs when vue2+webpack imports wasm directly #52

Closed bleasprodhnf closed 5 months ago

bleasprodhnf commented 1 year ago

What happened?

image

What did you expect to happen?

Fix the problem

How can we reproduce it (as minimally and precisely as possible)?

This error occurs when vue2+webpack imports js-sdk-wasm directly,not js-sdk-web-wasm

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

The project address of the test https://github.com/bleasprodhnf/vue2

bleasprodhnf commented 1 year ago

https://github.com/bleasprodhnf/vue2 The project address of the test

Bloomingg commented 5 months ago

72