mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] copy style should be sync
This commit is contained in:
parent
5f1c3ee86d
commit
8aa76eb2cb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user