diff --git a/scripts/build-wasm.sh b/scripts/build-wasm.sh index 6ec240e..23f4438 100755 --- a/scripts/build-wasm.sh +++ b/scripts/build-wasm.sh @@ -15,5 +15,6 @@ mv index.js index.mjs jq '.type="module"' package.json | jq . > tmp && mv tmp package.json jq '.module="./index.mjs"' package.json | jq . > tmp && mv tmp package.json +jq '.files += ["index.mjs"]' package.json | jq . > tmp && mv tmp package.json popd || exit