mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
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);
|
||||
|
||||
|
@@ -8,7 +8,7 @@ module.exports = {
|
||||
'arrow',
|
||||
'arrow-left',
|
||||
'arrow-up',
|
||||
'arrow-down'
|
||||
'arrow-down',
|
||||
],
|
||||
outline: [
|
||||
// has corresponding filled icon
|
||||
@@ -142,7 +142,7 @@ module.exports = {
|
||||
'discount',
|
||||
'idcard',
|
||||
'replay',
|
||||
'shrink'
|
||||
'shrink',
|
||||
],
|
||||
filled: [
|
||||
// has corresponding outline icon
|
||||
@@ -235,6 +235,6 @@ module.exports = {
|
||||
'ascending',
|
||||
'descending',
|
||||
'bars',
|
||||
'wap-nav'
|
||||
]
|
||||
'wap-nav',
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user