@fastkit/icon-font-gen 0.6.34 → 0.6.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -59,9 +59,6 @@ async function resolveRawIconFontEntry(rootDir, rawEntry) {
|
|
|
59
59
|
if (entry.name == null) {
|
|
60
60
|
entry.name = 'mdi';
|
|
61
61
|
}
|
|
62
|
-
if (entry.startUnicode == null) {
|
|
63
|
-
entry.startUnicode = 0xea0;
|
|
64
|
-
}
|
|
65
62
|
}
|
|
66
63
|
const name = entry.name || path__default.basename(entry.src);
|
|
67
64
|
const fontName = entry.fontName || `${name}-icon`;
|
|
@@ -146,7 +143,8 @@ async function generateEntry(entry) {
|
|
|
146
143
|
}
|
|
147
144
|
await fs__default.ensureDir(options.dest);
|
|
148
145
|
const webfont = await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('webfont')); })).default;
|
|
149
|
-
const { startUnicode = 0xea01 } = options;
|
|
146
|
+
// const { startUnicode = 0xea01 } = options;
|
|
147
|
+
const { startUnicode = 0xba01 } = options;
|
|
150
148
|
let i = startUnicode;
|
|
151
149
|
const result = await webfont({
|
|
152
150
|
files: options.src,
|
|
@@ -59,9 +59,6 @@ async function resolveRawIconFontEntry(rootDir, rawEntry) {
|
|
|
59
59
|
if (entry.name == null) {
|
|
60
60
|
entry.name = 'mdi';
|
|
61
61
|
}
|
|
62
|
-
if (entry.startUnicode == null) {
|
|
63
|
-
entry.startUnicode = 0xea0;
|
|
64
|
-
}
|
|
65
62
|
}
|
|
66
63
|
const name = entry.name || path__default.basename(entry.src);
|
|
67
64
|
const fontName = entry.fontName || `${name}-icon`;
|
|
@@ -146,7 +143,8 @@ async function generateEntry(entry) {
|
|
|
146
143
|
}
|
|
147
144
|
await fs__default.ensureDir(options.dest);
|
|
148
145
|
const webfont = await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('webfont')); })).default;
|
|
149
|
-
const { startUnicode = 0xea01 } = options;
|
|
146
|
+
// const { startUnicode = 0xea01 } = options;
|
|
147
|
+
const { startUnicode = 0xba01 } = options;
|
|
150
148
|
let i = startUnicode;
|
|
151
149
|
const result = await webfont({
|
|
152
150
|
files: options.src,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastkit/icon-font-gen",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.35",
|
|
4
4
|
"description": "@fastkit/icon-font-gen",
|
|
5
5
|
"buildOptions": {
|
|
6
6
|
"name": "IconFont",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/dadajam4/fastkit/tree/main/packages/icon-font-gen#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fastkit/ev": "0.6.
|
|
37
|
-
"@fastkit/icon-font": "0.6.
|
|
38
|
-
"@fastkit/node-util": "0.6.
|
|
39
|
-
"@fastkit/tiny-logger": "0.6.
|
|
36
|
+
"@fastkit/ev": "0.6.35",
|
|
37
|
+
"@fastkit/icon-font": "0.6.35",
|
|
38
|
+
"@fastkit/node-util": "0.6.35",
|
|
39
|
+
"@fastkit/tiny-logger": "0.6.35",
|
|
40
40
|
"cac": "^6.7.11",
|
|
41
41
|
"chokidar": "^3.5.0",
|
|
42
42
|
"fs-extra": "^9.1.0",
|