From 9e1bb413ff1165a449f744c5a7b06e6a09aff2c7 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 2 Feb 2024 18:51:30 +0800 Subject: [PATCH] update --- package.json | 1 + src/lib/core.js | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 src/lib/core.js 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 {}