docs: update docs build scripts

pull/165/head
tjz 2018-04-21 19:01:52 +08:00
parent b569e67799
commit 945b2d0309
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) { gulp.src(source).pipe(through2.obj(function z (file, encoding, next) {
const paths = file.path.split('/') const paths = file.path.split('/')
const name = paths[paths.length - 1].split('.')[0] const name = paths[paths.length - 1].split('.')[0].toLowerCase()
const toPaths = [ const toPaths = [
'site-dist/docs', 'site-dist/docs',
'site-dist/docs/vue', 'site-dist/docs/vue',