File tree 4 files changed +10
-2
lines changed
4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"lint" : " eslint ." ,
8
8
"test" : " vitest" ,
9
- "build" : " tshy" ,
9
+ "build" : " tshy && cp -r fonts dist " ,
10
10
"dev" : " tshy --watch" ,
11
11
"clean" : " rm -rf node_modules .tshy .tshy-build dist .turbo"
12
12
},
Original file line number Diff line number Diff line change
1
+ export const dirname = __dirname ;
Original file line number Diff line number Diff line change
1
+ import { fileURLToPath } from "url" ;
2
+ import path from "path" ;
3
+
4
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
+ // @ts -ignore Dual package
6
+ export const dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
Original file line number Diff line number Diff line change 1
1
import path from "path" ;
2
+ import { dirname } from "./dirname.js" ;
2
3
3
- const dir = path . join ( __dirname , "../" ) ;
4
+ const dir = path . join ( dirname , "../" ) ;
4
5
5
6
export const SANS_8_BLACK = path . join (
6
7
dir ,
You can’t perform that action at this time.
0 commit comments