mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] copy style should be sync
This commit is contained in:
@@ -25,9 +25,9 @@ gulp.task('compile', () => {
|
||||
// copy lib files
|
||||
gulp.task('lib', ['compile'], () => {
|
||||
const ttf = glob.sync(resolve('./src/*.ttf'));
|
||||
ttf.forEach(ttf => fs.copy(ttf, './lib/' + path.parse(ttf).base));
|
||||
fs.copy('./lib', '../../lib/vant-css');
|
||||
fs.copy('./lib', '../../es/vant-css');
|
||||
ttf.forEach(ttf => fs.copySync(ttf, './lib/' + path.parse(ttf).base));
|
||||
fs.copySync('./lib', '../../lib/vant-css');
|
||||
fs.copySync('./lib', '../../es/vant-css');
|
||||
});
|
||||
|
||||
// extract svg from sketch
|
||||
|
Reference in New Issue
Block a user