bundles
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,6 +6,7 @@
|
|||||||
.AppleDouble
|
.AppleDouble
|
||||||
.LSOverride
|
.LSOverride
|
||||||
*.bundle.ts
|
*.bundle.ts
|
||||||
|
bundles/*.bundle.ts
|
||||||
|
|
||||||
# Icon must end with two \r
|
# Icon must end with two \r
|
||||||
Icon
|
Icon
|
||||||
|
|||||||
10
bundles/hello_world.ts
Normal file
10
bundles/hello_world.ts
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env runts -- --allow-import
|
||||||
|
|
||||||
|
import {log} from "../libraries/deno-commons-mod.ts";
|
||||||
|
|
||||||
|
// deno bundle --allow-import hello_world.ts -o helloworld-bundle-2.bundle.ts
|
||||||
|
async function main() {
|
||||||
|
log.info("Hello World!");
|
||||||
|
}
|
||||||
|
|
||||||
|
main().catch(console.error);
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env runts -- --allow-import
|
|
||||||
|
|
||||||
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() {
|
|
||||||
log.info("Hello World!");
|
|
||||||
}
|
|
||||||
|
|
||||||
main().catch(console.error);
|
|
||||||
Reference in New Issue
Block a user