Skip to content

Commit

Permalink
use relative path in gulp build
Browse files Browse the repository at this point in the history
  • Loading branch information
hifocus committed Jun 15, 2023
1 parent 63b69e2 commit 0f1fc4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ gulp.task('minify-html', async function () {
gulp.task('replace-js-css', function (done) {
return gulp.src('./merger.html')
.pipe(htmlreplace({
'css': '/assets/style.main.css',
'js': '/assets/function.main.js'
'css': 'assets/style.main.css',
'js': 'assets/function.main.js'
}))
.pipe(rename('index.html'))
.pipe(gulp.dest('build/'))
Expand Down

0 comments on commit 0f1fc4c

Please sign in to comment.