@4players/odin-plugin-web 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,9 +18,9 @@ Join our official Discord server to chat with us directly and become a part of t
18
18
 
19
19
  [![Join us on Discord](https://www.4players.io/images/join_discord.png)](https://4np.de/discord)
20
20
 
21
- ### X (former Twitter)
21
+ ### X (formerly Twitter)
22
22
 
23
- Have a quick question? Tweet us at [@ODIN4Players](https://twitter.com/ODIN4Players) and we’ll help you resolve any issues.
23
+ Have a quick question? Tweet us at [@ODIN4Players](https://x.com/ODIN4Players) and we’ll help you resolve any issues.
24
24
 
25
25
  ### Email
26
26
 
@@ -45,7 +45,8 @@ set_target_properties(${CMAKE_EXECUTABLE_NAME} PROPERTIES
45
45
  -s WASM=1 \
46
46
  -s SINGLE_FILE=1 \
47
47
  -s ALLOW_TABLE_GROWTH=1 \
48
- -s BINARYEN_ASYNC_COMPILATION=0 \
48
+ -s BINARYEN_ASYNC_COMPILATION=1 \
49
+ -s WASM_ASYNC_COMPILATION=1 \
49
50
  -s FILESYSTEM=0 \
50
51
  -s ENVIRONMENT=web,worker \
51
52
  -s EXPORTED_FUNCTIONS=_malloc,_free \
package/esbuild.config.ts CHANGED
@@ -12,7 +12,7 @@ if (!packageVersion) {
12
12
  }
13
13
 
14
14
  const sharedConfig: BuildOptions = {
15
- entryPoints: ['lib/plugin/index.js'],
15
+ entryPoints: ['lib/esm/plugin/index.js'],
16
16
  bundle: true,
17
17
  minify: true,
18
18
  platform: 'browser',