want to avoid duplicate wasm files during the build process.

loading wasm in both the background and content script. When build in this state, the same wasm gets duplicated. How can we use the same wasm in both the background and content script without duplication?
rw-r--r--  1 user  staff    10655  5 18 23:55 icon128.plasmo.3c1ed2d2.png
-rw-r--r--  1 user  staff      857  5 18 23:55 icon16.plasmo.6c567d50.png
-rw-r--r--  1 user  staff     1960  5 18 23:55 icon32.plasmo.76b92899.png
-rw-r--r--  1 user  staff     3761  5 18 23:55 icon48.plasmo.aced7582.png
-rw-r--r--  1 user  staff     4398  5 18 23:55 icon64.plasmo.8bb5e6e0.png
-rw-r--r--  1 user  staff     1170  5 18 23:55 manifest.json
-rw-r--r--  1 user  staff   574929  5 18 23:55 options.95eda3f3.js
-rw-r--r--  1 user  staff      291  5 18 23:55 options.html
-rw-r--r--  1 user  staff   551482  5 18 23:55 popup.100f6462.js
-rw-r--r--  1 user  staff      289  5 18 23:55 popup.html
drwxr-xr-x  3 user  staff       96  5 18 23:55 static
-rw-r--r--  1 user  staff  1165918  5 18 23:55 wasm_bg.004565c4.wasm
-rw-r--r--  1 user  staff  1165918  5 18 23:55 wasm_bg.3406210b.wasm
Was this page helpful?