docs: update docs build scripts

pull/9/merge
tjz 7 years ago
parent 57be6c1947
commit 97b2041fa5

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

Loading…
Cancel
Save