Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 25f0b8a

Browse files
committed
Attempt #2 to fix build issue
1 parent 1fb8add commit 25f0b8a

File tree

3 files changed

+377
-913
lines changed

3 files changed

+377
-913
lines changed

Diff for: gulp/build.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const $ = require('gulp-load-plugins')({
99
pattern: ['gulp-*', 'uglify-save-license', 'del']
1010
});
1111

12-
const partialsFn = () => {
12+
const partials = () => {
1313
return gulp.src([
1414
paths.src + '/{app,components}/**/*.html',
1515
paths.tmp + '/{app,components}/**/*.html'
@@ -25,9 +25,9 @@ const partialsFn = () => {
2525
}))
2626
.pipe(gulp.dest(paths.tmp + '/partials/'));
2727
}
28-
gulp.task('partials', partialsFn);
28+
gulp.task('partials', partials);
2929

30-
const html = () => {
30+
const htmlFn = () => {
3131
return new Promise(async (resolve, reject) => {
3232
const partialsInjectFile = gulp.src(paths.tmp + '/partials/templateCacheHtml.js', { read: false });
3333
const partialsInjectOptions = {
@@ -58,7 +58,8 @@ const html = () => {
5858
.on('error', reject);
5959
});
6060
}
61-
gulp.task('html', gulp.series(inject, partialsFn, html));
61+
const html = gulp.series(inject, partials, htmlFn);
62+
gulp.task('html', htmlFn);
6263

6364
const images = () => {
6465
return gulp.src(paths.src + '/assets/images/**/*')

0 commit comments

Comments
 (0)