timonforrer

Results 8 comments of timonforrer

Alright, I was able to lean on sanity's on-demand image processing to generate the HTML for a responsive image in a synchronous fashion: ```js const client = require('../sanity.js'); // fully...

@zeroby0 Yes, the image is remote. The bug should be reproducible – I'll share some code with in the next few days, if you wan't to debug it 🙌🏼

@zeroby0 I finally took some time trying to make a repo to reproduce the bug. Appearently I was using v1.0.0 of the img package. It works with v2.0.0. https://github.com/timonforrer/11ty-statsByDimensionsSync/ I'll...

Hi again, @zeroby0 I was a bit hasty.. Bumping the version to v2.0.0 on the repository, that was originally affected by the bug, didn't resolve the issue. I added a...

@zeroby0 thank you for looking into it and creating the PR!

@andeersg I ran into a similar issue. I created a WebC component that uses a `` with `webc:type="js"` set, so I can pass in data and modify it using js....

FYI: this is no longer urgent for me, but might still be something that's worth fixing. I just externalized the scripts and styles from my .webc components into separate .js...

I just copied all the CSS and JS from my WebC components into a styles.css and scripts.js file and deleted the `style` and `script` tags in my WebC components. To...