github.com/denoland/was...
github.com/denoland/was...
Did you know that Parcel can optimize images for you?
In your html code, you can specify src for img tag:
"image.jpeg?as=avif&width=800"
And it will be automatically converted/resized.
gist.github.com/ngmaibulat/b...
Did you know that Parcel can optimize images for you?
In your html code, you can specify src for img tag:
"image.jpeg?as=avif&width=800"
And it will be automatically converted/resized.
gist.github.com/ngmaibulat/b...
tsup.egoist.dev#building-cli...
For some, reason it did not work for me. So I had to use a workaround with `onSuccess` handler:
gist.github.com/ngmaibulat/6...
Using: tsup/8.3.6 linux-x64 node-v23.7.0
tsup.egoist.dev#building-cli...
For some, reason it did not work for me. So I had to use a workaround with `onSuccess` handler:
gist.github.com/ngmaibulat/6...
Using: tsup/8.3.6 linux-x64 node-v23.7.0
Examples: simple one node website/webapp, some personal cli tools, node specific caching/logging.
Examples: simple one node website/webapp, some personal cli tools, node specific caching/logging.
deno.com/blog/jsr-ope...
deno.com/blog/jsr-ope...
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts", "src/lib.ts"],
format: ["esm"],
outDir: "dist",
dts: false,
splitting: false,
minify: false,
bundle: true,
target: "esnext",
});
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts", "src/lib.ts"],
format: ["esm"],
outDir: "dist",
dts: false,
splitting: false,
minify: false,
bundle: true,
target: "esnext",
});
github.com/denoland/den...
github.com/denoland/den...
▸ smaller deno compile binaries (~2Mb)
▸ Node compat bug fixes
Upgrade with `deno upgrade`
github.com/denoland/den...
▸ smaller deno compile binaries (~2Mb)
▸ Node compat bug fixes
Upgrade with `deno upgrade`
github.com/denoland/den...
I got question why `defer` attribute did not work as expected and script did not see DOM elements. The actual issue was that defer attribute only works for external scripts. It does not work for inline code inside script tag!
developer.mozilla.org/en-US/docs/W...
I got question why `defer` attribute did not work as expected and script did not see DOM elements. The actual issue was that defer attribute only works for external scripts. It does not work for inline code inside script tag!
developer.mozilla.org/en-US/docs/W...
gist.github.com/ngmaibulat/b...
gist.github.com/ngmaibulat/b...