File tree 3 files changed +10
-13
lines changed
3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ TypeScript + ES Modules
7
7
8
8
Transpile TypeScript on the fly and serve it from your server as ES Modules.
9
9
10
- ``` ts
10
+ ``` ts ignore
11
11
import { serveDirWithTs } from " @ayame113/ts-serve" ;
12
12
13
13
Deno .serve ((request ) => serveDirWithTs (request ));
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< 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 >
11
11
</ 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" ;
5
2
import {
6
3
MediaType ,
7
4
serveDirWithTs ,
You can’t perform that action at this time.
0 commit comments