Skip to content

Commit a457e3f

Browse files
committed
fix: copy all the assets
for e.g. gitbook support
1 parent b78e843 commit a457e3f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Gulpfile.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,8 @@
99

1010
gulp.task('assets', [], () => {
1111
return gulp.src([
12-
BASE_DIR + '/css/**',
13-
BASE_DIR + '/js/**',
14-
BASE_DIR + '/mkdocs/**',
15-
BASE_DIR + '/fonts/**',
16-
BASE_DIR + '/img/**',
17-
BASE_DIR + '/images/**',
18-
BASE_DIR + '/**/*.js',
19-
BASE_DIR + '/**/*.css',
20-
BASE_DIR + '/**/*.dll',
21-
BASE_DIR + '/**/*.xml',
22-
BASE_DIR + '/**/*.war',
23-
BASE_DIR + '/**/*.png'
12+
BASE_DIR + '/**/*',
13+
'!**/*.html'
2414
], { base: BASE_DIR })
2515
.pipe(debug())
2616
.pipe(gulp.dest(TARGET_DIR + '/public'));

0 commit comments

Comments
 (0)