[Build] extract build iconfont (#1242)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
module.exports = (fontName, ttf) => {
|
||||
return `@font-face {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-family: '${fontName}';
|
||||
src: url('../icon/${ttf}') format('truetype');
|
||||
}`;
|
||||
};
|
||||
Reference in New Issue
Block a user