/* eslint-disable */

const gulp = require('gulp');
const tasks = require('strt-gulptasks')({
  output: 'public/dist',
  scripts: {
    publicPath: 'localhost:3000/dist/scripts',
  },
  serve: {
    server: 'public',
    files: ['public/*.html'],
  }
});

gulp.task('default', gulp.series(
  tasks.clean,
  gulp.parallel(
    tasks.styles,
    tasks.images,
    tasks.files,
    tasks.icons,
    tasks.scripts
  ),
  tasks.serve
));

gulp.task('production', gulp.series(
  function setProdEnv(done) {
    process.env.NODE_ENV = 'production';
    done();
  },
  tasks.clean,
  gulp.parallel(
    tasks.styles,
    tasks.images,
    tasks.files,
    tasks.icons,
    tasks.scripts
  )
));


@@ -146,22 +146,8 @@
 h: '
-localhost:3000
 /dis

Change to relative publicPath🔥