# How to build openreplay-assist.js from source?

**URL:** <https://forum.openreplay.com/t/how-to-build-openreplay-assist-js-from-source/530>\
**Category:** 🔌 Plugins\
**Tags:** tracker\
**Created:** [June 18, 2025, 6:17pm UTC](https://forum.openreplay.com/t/how-to-build-openreplay-assist-js-from-source/530 "2025-06-18T18:17:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pptrace](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@pptrace](https://forum.openreplay.com/u/pptrace)\
**Post date:** [June 18, 2025, 6:17pm UTC](https://forum.openreplay.com/t/how-to-build-openreplay-assist-js-from-source/530/1 "2025-06-18T18:17:12Z")

</div>

Is there a build guide for compiling/bundling the openreplay-assist.js script from the source? I have tried building the tracker and tracker-assist module but encountered several issues. When I try to build it using `bun run build` I get several compile errors, after some tweaking on the code I was able to run the build successfully. But the rollup config file inside the tracker directory only produces code with cjs and es format s. The tracker-assist plugin doesn’t even have a rollup config. Is there a known way of building it for the browser (iife) just like `static.openreplay.com/latest/openreplay-assist.js`?
