So I'd like to do something a bit nuts: single-page Framer prototypes.
I've got a basic script that replaces all <script> and stylesheets with their file contents, and it works great for simple prototypes. What I'd like to do next is replace image URLs of imported layers with base64 encoded images... but I'm seeing some pretty inflexible logic around loading of images. Ideally, I'd just load the base64 representation here , but all image urls are prepended with a path  and, optionally, a cache-buster . I can work around those with a simple indexOf check for 'data:image'... but it's getting the base64 data into the json I'm wondering about, as well.
Any good ideas?