This commit is contained in:
2026-02-04 23:34:01 +08:00
parent 0ae953ba47
commit 69df32ac74
2 changed files with 11 additions and 1 deletions

View File

@@ -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);

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env runts -- --allow-import #!/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 // deno bundle --allow-import helloworld-bundle.ts -o helloworld-bundle.bundle.ts
async function main() { async function main() {