mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +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
|
// copy lib files
|
||||||
gulp.task('lib', ['compile'], () => {
|
gulp.task('lib', ['compile'], () => {
|
||||||
const ttf = glob.sync(resolve('./src/*.ttf'));
|
const ttf = glob.sync(resolve('./src/*.ttf'));
|
||||||
ttf.forEach(ttf => fs.copy(ttf, './lib/' + path.parse(ttf).base));
|
ttf.forEach(ttf => fs.copySync(ttf, './lib/' + path.parse(ttf).base));
|
||||||
fs.copy('./lib', '../../lib/vant-css');
|
fs.copySync('./lib', '../../lib/vant-css');
|
||||||
fs.copy('./lib', '../../es/vant-css');
|
fs.copySync('./lib', '../../es/vant-css');
|
||||||
});
|
});
|
||||||
|
|
||||||
// extract svg from sketch
|
// extract svg from sketch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user