On-the-fly bundler for typescript libraries hosted on Gitea or compatible
Go to file
Michaël Lemaire 45fb0df4b6 Allow to serve raw TS 2021-07-27 22:17:38 +02:00
config Allow to serve raw TS 2021-07-27 22:17:38 +02:00
doc Allow to serve raw TS 2021-07-27 22:17:38 +02:00
.editorconfig Initial bundle server prototype 2020-05-13 16:39:34 +02:00
.gitignore Initial bundle server prototype 2020-05-13 16:39:34 +02:00
README.md Allow to serve raw TS 2021-07-27 22:17:38 +02:00
run Allow to serve raw TS 2021-07-27 22:17:38 +02:00
server.test.ts Allow to serve raw TS 2021-07-27 22:17:38 +02:00
server.ts Allow to serve raw TS 2021-07-27 22:17:38 +02:00
tsconfig.json Initial bundle server prototype 2020-05-13 16:39:34 +02:00

README.md

typescript/bundler

Build Status

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 server.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