mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Add: genIcon npm script
This commit is contained in:
@@ -21,6 +21,7 @@ function genCssFile(fontData)
|
||||
fontData + '\') format(\'woff\');');
|
||||
data = data.join('\n');
|
||||
data = data.replace(/icon-"/g, 'eruda-icon-"');
|
||||
data = data.replace(/font-family: 'icomoon'/g, 'font-family: \'eruda-icon\'');
|
||||
|
||||
writeCssFile(data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user