From 97b2041fa57c35e9cf2688ac77a8ba2c2cd2fa47 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Sat, 21 Apr 2018 19:01:52 +0800 Subject: [PATCH] docs: update docs build scripts --- scripts/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gulpfile.js b/scripts/gulpfile.js index 593072e17..716428173 100644 --- a/scripts/gulpfile.js +++ b/scripts/gulpfile.js @@ -76,7 +76,7 @@ function copyHtml () { ] gulp.src(source).pipe(through2.obj(function z (file, encoding, next) { const paths = file.path.split('/') - const name = paths[paths.length - 1].split('.')[0] + const name = paths[paths.length - 1].split('.')[0].toLowerCase() const toPaths = [ 'site-dist/docs', 'site-dist/docs/vue',