diff --git a/package.json b/package.json index dcf7290..18ff41c 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/lib/core.js b/src/lib/core.js new file mode 100644 index 0000000..5b02524 --- /dev/null +++ b/src/lib/core.js @@ -0,0 +1,12 @@ +/** + * {} + * @author yutent + * @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 {}