chore: prettier packages codes
This commit is contained in:
@@ -36,13 +36,13 @@ function font() {
|
||||
targetPath: '../src/index.less',
|
||||
normalize: true,
|
||||
firstGlyph: 0xf000,
|
||||
cssClass: fontName // this is a trick to pass fontName to template
|
||||
cssClass: fontName, // this is a trick to pass fontName to template
|
||||
})
|
||||
)
|
||||
.pipe(
|
||||
iconfont({
|
||||
fontName,
|
||||
formats
|
||||
formats,
|
||||
})
|
||||
)
|
||||
.pipe(dest(srcDir));
|
||||
|
||||
@@ -4,7 +4,8 @@ const shell = require('shelljs');
|
||||
|
||||
const svgDir = path.join(__dirname, '../assets/svg');
|
||||
const sketch = path.join(__dirname, '../assets/icons.sketch');
|
||||
const SKETCH_TOOL_DIR = '/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool';
|
||||
const SKETCH_TOOL_DIR =
|
||||
'/Applications/Sketch.app/Contents/Resources/sketchtool/bin/sketchtool';
|
||||
|
||||
fs.removeSync(svgDir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user