master
yutent 2024-02-02 18:51:30 +08:00
parent 7aaef1e037
commit 9e1bb413ff
2 changed files with 13 additions and 0 deletions

View File

@ -15,6 +15,7 @@
"build": "esbuild src/index.js --minify --bundle --format=esm --target=esnext --outfile=dist/index.js"
},
"dependencies": {
"iofs": "^1.5.3",
"svg2ttf": "^6.0.3",
"ttf2svg": "^1.2.0",
"ttf2woff2": "^5.0.0"

12
src/lib/core.js Normal file
View File

@ -0,0 +1,12 @@
/**
* {}
* @author yutent<yutent.io@gmail.com>
* @date 2024/02/02 10:23:28
*/
import fs from 'iofs'
import svg2ttf from 'svg2ttf'
import ttf2svg from 'ttf2svg'
import ttf2woff2 from 'ttf2woff2'
export default {}