File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "scripts" : {
77 "lint" : " eslint ." ,
88 "test" : " vitest" ,
9- "build" : " tshy" ,
9+ "build" : " tshy && cp -r fonts dist " ,
1010 "dev" : " tshy --watch" ,
1111 "clean" : " rm -rf node_modules .tshy .tshy-build dist .turbo"
1212 },
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 11import path from "path" ;
2+ import { dirname } from "./dirname.js" ;
23
3- const dir = path . join ( __dirname , "../" ) ;
4+ const dir = path . join ( dirname , "../" ) ;
45
56export const SANS_8_BLACK = path . join (
67 dir ,
You can’t perform that action at this time.
0 commit comments