Skip to main content

Activity for antleth.fr

Active on:

Loading activity...

magic-string got more than half smaller btw!

Package size dropping from ~600kB to 305kB, making it 56% smaller
@antfu.me avatarAnthony Fu@antfu.me

magic-string v1.0.0 gets released with pure-ESM, thanks to @sxzz.dev!

Bluesky network4d ago

I guess I’ll have to start using mu now

@eurosky.bskycheck.com avatarVerified on Eurosky@eurosky.bskycheck.com

@antleth.fr has been verified by @npmx.dev on the mu.social app

Bluesky network13d ago

Nice

"An impossible situation occurred" while refreshing my Vite app
Bluesky network19d ago

Self hosting is cool as hell but it’s HARD

Bluesky network20d ago

I wouldn’t say no to 2-3 months of paid OSS work to build everything I wanna build lol

Bluesky network1mo ago

Explain your @ First letters of my first name + of my last name, .fr cause… baguette I picked the .cloud variant for my home server, pretty proud of that choice (I would’ve loved to get my hands on smth like antoine . dev, but already taken :( ) My @ used to host my portfolio, but I’ve to redo it

@paolo.ricciuti.me avatar{🧪} +paoloricciuti.svelte@paolo.ricciuti.me

Explain your @ My name is Paolo, my last name is Ricciuti and the `.me` gTLD was the cheap available one I was able to find right after registering to bsky

Bluesky network1mo ago

One should make a quote-of-the-day-like API from inspiring Patak posts There is more and more good ones to pick from!

@patak.cat avatarpatak@patak.cat

go find others, and scheme together

Bluesky network1mo ago

Honest feedback about this after migrating everything in SC Pros: - Same mental model as in the script tag - Same syntax as in the script tag - Native syntax Cons: - More verbose (with deriveds), especially for simple things like `{let Component = $derived(icon)} - But the worst part for me is...

@antleth.fr avatarAntoine@antleth.fr

@const is dead, long live const! Svelte 5.56 allows for raw let/const ANYWHERE in the markup within {} brackets, deprecating {@const} This is huge! svelte-changelog.dev/pull/sveltej...

Bluesky network1mo ago

I desperately need a big whiteboard in my office Planned for a year and still haven’t got my hands on one It’s very handy for things like–purely generic and hypothetical–software breakdowns and redesigns

Bluesky network1mo ago

WebKit (and Bun) have a new ESM loader, enabling proper top-level await, introduced in the first beta of Safari 27! @rich-harris.dev notably called out this bug about a year ago: bsky.app/profile/rich... Maybe this will enable some optimizations in Svelte/Vite? 👀

@dr-axel.de avatarAxel Rauschmayer (also on 🦣)@dr-axel.de

#JavaScript – new in the upcoming Safari 27: top-level `await`. “Safari 27 beta includes a complete standards-compliant rewrite of the ECMAScript module (ESM) loader.” webkit.org/blog/17967/n...

Bluesky network1mo ago

Ladies and gentlemen, SC is back up

The "what did it cost" Thanos meme with:
- "did you fix all the errors?"
- "yes"
- "what did it cost?"
- "2 hours less sleep"
Bluesky network1mo ago

Seriously considering building a v3 for Svelte Changelog

Bluesky network1mo ago

SvelteKit 2.63.0 just got released, and env vars are now handled much better than before! 🔥 Here is a quick recap:

<!-- Before -->
<script>
  // Requires running at least `svelte-kit sync` to discover
  // Requires `publicPrefix` prefix
  // Always `string`
  import { PUBLIC_APP_ID } from "$env/static/public";
  // Properties require `publicPrefix` prefix
  // Properties can be arbitrary, thus typoed
  // Properties always `string | undefined`
  // Conflicts with the same import from `$env/dynamic/private`
  import { env } from "$env/dynamic/public";
  // Same logic with the `.../private"` counterparts (without
  // the prefix limitation)
</script>
Bluesky network1mo ago

Aside from being gorgeous every time, I think npmx noodles are super important! They showcase the major contributors and projects of the ecosystem as *Google* does for the world culture; I’m super happy to see that!

@willow.sh avatarWillow (GHOST)@willow.sh

happy pride month 🎉

npmx homepage with a pride themed npmx logo (noodle)
Bluesky network1mo ago

Time for a new Svelte/Kit feature! Give your feedbacks here 👇

@rich-harris.dev avatarrich harris@rich-harris.dev

SvelteKit arguably has a more sophisticated and flexible system for handling env vars than any other framework. We think we can do better though. Here's what we're working on: github.com/sveltejs/kit... Give it a read and let us know if you have feedback

Bluesky network1mo ago

Svelte pro tip: I surprised myself writing this very cool pattern You can make a prop be either an attribute or a snippet: very handy when you want to provide two "size variants" of the same content!

The component implementing it:
1) a prop with a union type `string | Snippet` imported from "svelte" (can be anything else than a string btw
2) with an `{#if}` block, check whether the prop is `typeof prop === "string"` to use it as a regular string, or wrap it in a `{@render}` block in the `{:else}` branch otherwise: easy!
Bluesky network1mo ago

Fixed

Moved to npmx.social PDS!
@antleth.fr avatarAntoine@antleth.fr

The worst part about Bluesky BY FAR is the awful "log in with bsky" 2FA mail code Mail 2FA, not even 6 digits so no autocomplete and harder memorization… Just give me regular 2FA or passkeys!!

Bluesky network1mo ago

The worst part about Bluesky BY FAR is the awful "log in with bsky" 2FA mail code Mail 2FA, not even 6 digits so no autocomplete and harder memorization… Just give me regular 2FA or passkeys!!

Bluesky network1mo ago

Svelte AND SvelteKit in the top 10, and Svelte #1 for the whole existence of the likes on npmx, let’s go!

@philippeserhal.com avatarPhilippe Serhal@philippeserhal.com

New on @npmx.dev: 🥇🥈🥉 npmx.dev/leaderboard/... Why? Honestly, because we can just do fun things on the web. 🍿 Will the crown get to @rich-harris.dev's head? Will @danielroe.dev point out that ackshually SvelteKit is a fairer comparison and look how low the poor thing is? Will Astronauts organize?

Bluesky network1mo ago

@const is dead, long live const! Svelte 5.56 allows for raw let/const ANYWHERE in the markup within {} brackets, deprecating {@const} This is huge! svelte-changelog.dev/pull/sveltej...

Details of pull request sveltejs/svelte#18282 | Svelte Changelog
Bluesky network1mo ago
Activity - antleth.fr | Sifa