bundles
This commit is contained in:
10
bundles/helloworld-bundle-2.ts
Normal file
10
bundles/helloworld-bundle-2.ts
Normal 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);
|
||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user