[new feature] support es module (#875)

This commit is contained in:
neverland
2018-04-17 14:36:46 +08:00
committed by GitHub
parent 6d74198e27
commit f97bb54688
11 changed files with 55 additions and 29 deletions

View File

@@ -25,7 +25,7 @@ gulp.task('compile', () => {
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');
});
// extract svg from sketch