The bundled decoder identifies libheif 1.23.6 and libde265 1.0.16. Exact upstream source releases are included under upstream/. Follow the heic-to README and upstream build-emscripten.sh using LIBDE265_VERSION=1.0.16 USE_WASM=0; copy generated libheif.js into src/lib/, then run npm install and node esbuild.mjs. For the alternate no-unsafe-eval module use USE_UNSAFE_EVAL=0. Emscripten, cmake, make and pkg-config are external build tools. Replace public/vendor/heic-to-1.6.6/decoder.js with your rebuilt dist/next/heic-to.js. No application relinking is required.
