mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[bugfix] copy style should be sync
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user