@taye

146 Followers
340 Following
333 Posts

I program interactive things. Currently working on video editing tools at https://miru.media. Sometimes I make art. Rarely I am spicy.

Somewhere around Berlin.

codeberghttps://codeberg.org/taye
githubhttps://github.com/taye
@dev #Goose valued
The bad news? When I do that, the #webkit Web Inspector will fail, maybe even crash? I'm certainly no longer able to inspect my webpage 😭

The good news: I can use `@scope` to have custom properties only apply to some subtree. I can also have alternative values for these custom properties depending on the existence of a class _outside_ of this subtree, like so:

#webdev #css #scope

The plugin works by
- creating a tmp directory to write transformed js files to so that they could be improted with `file://` urls
- copying and patching vite's dev client file to fit gjs rather than the browser
- polyfilling WebSocket and fetch APIs in gjs

Now, vite has a new Environment API that's making things a bit easier and there's also #gjsify to provide the polyfills I need.

I'm still hitting some issues with the vite moduel runner and ESM evaluator tho

https://vite.dev/guide/api-environment-runtimes

Environment API for Runtimes

Next Generation Frontend Tooling

vitejs

One of the joys of this plant parent is to see he babies leave the house - these went to mother in law.

(I'm missing the facebook plant exchange group... If folks here who are NL based are interested in a few baby cactii or succulents, we can certainly find a way for me to pass them on. I have quiet some I've grown from cutting double and triple ...)

#succulent #netherlands #nederland

ok this is the last time I have coffee before going to bed at 6am

and this time I mean it

Verkoeling gevonden!⛰️🥾❤️
Was nog 30°C 🥵

@nextgraph I've had a lot of issues with WebCodecs in Gnome's default Web/Epiphany browser, but it might just be my NixOS setup that's the problem.

Also, I was planning on definitely using Tauri for other platforms, but right now I'm looking for something to procrastinate with :P