Browse Source

docs: update docs build scripts

pull/9/merge
tjz 7 years ago
parent
commit
97b2041fa5
  1. 2
      scripts/gulpfile.js

2
scripts/gulpfile.js

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