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() {