On-the-fly bundler for typescript libraries hosted on Gitea or compatible
config | ||
doc | ||
.editorconfig | ||
.gitignore | ||
cli.ts | ||
deps.testing.ts | ||
deps.ts | ||
README.md | ||
run | ||
server.test.ts | ||
server.ts | ||
tsconfig.json |
typescript/bundler
About
On-the-fly bundler for typescript libraries hosted on Gitea or compatible
How to run
deno run --allow-run=deno --allow-net=0.0.0.0,yourgithosting.net cli.ts yourgithosting.net/namespace [port]
You can now get raw typescript files (usable by Deno):
http://localhost:8000/libname@1.0.0/path/file.ts
Or get a bundled JS version:
http://localhost:8000/libname@1.0.0/path/file.js
If the version is not specified, the master branch is used instead:
http://localhost:8000/libname/path/file.js