⚡️ Creator of @tsx.is
📦 Creator of https://pkg-size.dev
💞 Open Source https://github.com/privatenumber
💼 SWE @ Square
While continuously tweaking the performance, the minifier is already outperforming `esbuild` in terms of speed and size.
Check out the benchmark by @hirok.io for perf comparison.
github.com/privatenumbe...
While continuously tweaking the performance, the minifier is already outperforming `esbuild` in terms of speed and size.
Check out the benchmark by @hirok.io for perf comparison.
github.com/privatenumbe...
If you're interested in how I do this, I'm querying GPT 4o on @github.com Models via GH Actions on every PR 🙏
Here's the system prompt:
github.com/privatenumbe...
If you're interested in how I do this, I'm querying GPT 4o on @github.com Models via GH Actions on every PR 🙏
Here's the system prompt:
github.com/privatenumbe...
I think it was kind of a hidden exchange on a commit or something...
The closest thing I could find was in the docs where imports is mentioned as a standard replacement for paths:
www.typescriptlang.org/docs/handboo....
I think it was kind of a hidden exchange on a commit or something...
The closest thing I could find was in the docs where imports is mentioned as a standard replacement for paths:
www.typescriptlang.org/docs/handboo....
Hope that Issue gains more momentum soon
Import Attributes have been supported and stable for a while now
Hope that Issue gains more momentum soon
Import Attributes have been supported and stable for a while now
Yep, bundlers conventionally use query parameters for this: vite.dev/guide/assets
But ImportAttributes has been around for a while now and can work seamlessly across platforms. I wonder why it hasn't caught on
Yep, bundlers conventionally use query parameters for this: vite.dev/guide/assets
But ImportAttributes has been around for a while now and can work seamlessly across platforms. I wonder why it hasn't caught on
Externalized deps are excluded from the bundle, so it's never tree-shaken
Externalized deps are excluded from the bundle, so it's never tree-shaken
SWC works as an alternative because it's the Rust port of Terser: github.com/swc-project/...
SWC works as an alternative because it's the Rust port of Terser: github.com/swc-project/...
I supported this in my ‘link’ package as “publish mode”
Is there a Watch mode to keep file:// dependencies up to date during development? (e.g. new files)
I supported this in my ‘link’ package as “publish mode”
Is there a Watch mode to keep file:// dependencies up to date during development? (e.g. new files)
A beginner shouldn't need to understand all that to wrap their head around
useEffect(() => {}, []) === onMounted(() => {})
This is about empathizing with beginners, not trivializing concepts we already get
A beginner shouldn't need to understand all that to wrap their head around
useEffect(() => {}, []) === onMounted(() => {})
This is about empathizing with beginners, not trivializing concepts we already get
And may even build up server memory via closure
And may even build up server memory via closure