From 69df32ac7413be98ca3411e8b580f1a2b154f02a Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Wed, 4 Feb 2026 23:34:01 +0800 Subject: [PATCH] bundles --- bundles/helloworld-bundle-2.ts | 10 ++++++++++ bundles/helloworld-bundle.ts | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 bundles/helloworld-bundle-2.ts diff --git a/bundles/helloworld-bundle-2.ts b/bundles/helloworld-bundle-2.ts new file mode 100644 index 0000000..b0f905e --- /dev/null +++ b/bundles/helloworld-bundle-2.ts @@ -0,0 +1,10 @@ +#!/usr/bin/env runts -- --allow-import + +// deno bundle --allow-import helloworld-bundle-2.ts -o helloworld-bundle-2.bundle.ts +import {log} from "../libraries/deno-commons-mod.ts"; + +async function main() { + log.info("Hello World!"); +} + +main().catch(console.error); diff --git a/bundles/helloworld-bundle.ts b/bundles/helloworld-bundle.ts index b8ff962..03a6f1f 100644 --- a/bundles/helloworld-bundle.ts +++ b/bundles/helloworld-bundle.ts @@ -1,6 +1,6 @@ #!/usr/bin/env runts -- --allow-import -import {log} from "https://global.hatter.ink/script/get/@18/deno-commons-mod.ts"; +import {log} from "https://global.hatter.ink/script/get/@25/deno-commons-mod.ts"; // deno bundle --allow-import helloworld-bundle.ts -o helloworld-bundle.bundle.ts async function main() {