mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Refactor: Rename pug --> about:docs
This commit is contained in:
parent
0e98ffc68e
commit
8ba8ccb22c
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ const tsProject = ts.createProject('tsconfig.json');
|
|||
gulp.task('build', [
|
||||
'build:js',
|
||||
'build:ts',
|
||||
'build:pug',
|
||||
'build:about:docs',
|
||||
'build:copy',
|
||||
'build:client'
|
||||
]);
|
||||
|
@ -62,7 +62,7 @@ gulp.task('build:ts', () =>
|
|||
.pipe(gulp.dest('./built/'))
|
||||
);
|
||||
|
||||
gulp.task('build:pug', () => {
|
||||
gulp.task('build:about:docs', () => {
|
||||
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
|
||||
const streams = pugs.map(file => {
|
||||
const page = file.replace('./src/web/about/pages/', '').replace('.pug', '');
|
||||
|
|
Loading…
Reference in a new issue