File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed
Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ TypeScript + ES Modules
77
88Transpile TypeScript on the fly and serve it from your server as ES Modules.
99
10- ``` ts
10+ ``` ts ignore
1111import { serveDirWithTs } from " @ayame113/ts-serve" ;
1212
1313Deno .serve ((request ) => serveDirWithTs (request ));
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en " dir ="ltr ">
3- < head >
4- < meta charset ="utf-8 ">
5- < title > </ title >
6- < script src ="./main.ts " type ="module "> </ script >
7- </ head >
8- < body >
9- hello world
10- </ body >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > </ title >
6+ < script src ="./main.ts " type ="module "> </ script >
7+ </ head >
8+ < body >
9+ hello world
10+ </ body >
1111</ html >
Original file line number Diff line number Diff line change 1- import {
2- assertEquals ,
3- fail ,
4- } from "@std/assert" ;
1+ import { assertEquals , fail } from "@std/assert" ;
52import {
63 MediaType ,
74 serveDirWithTs ,
You can’t perform that action at this time.
0 commit comments