docs: update docs build scripts

pull/9/merge
tjz 2018-04-21 19:01:52 +08:00
parent 57be6c1947
commit 97b2041fa5
1 changed files with 1 additions and 1 deletions

View File

@ -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',