Skip to content

Commit

Permalink
Gulp path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
forkineye committed Nov 27, 2024
1 parent 2b0ca41 commit a831095
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gulp.task("html", function () {
})
)
.pipe(gzip())
.pipe(gulp.dest("ESPixelStick/data/www"));
.pipe(gulp.dest("data/www"));
});

/* CSS Task */
Expand All @@ -39,7 +39,7 @@ gulp.task("css", function () {
.pipe(concat("esps.css"))
.pipe(cleancss())
.pipe(gzip())
.pipe(gulp.dest("ESPixelStick/data/www"));
.pipe(gulp.dest("data/www"));
});

/* JavaScript Task */
Expand All @@ -62,7 +62,7 @@ gulp.task("js", function () {
) /* comment out this line to debug the script file */
.pipe(gzip())
.pipe(using())
.pipe(gulp.dest("ESPixelStick/data/www"));
.pipe(gulp.dest("data/www"));
});

/* json Task */
Expand All @@ -71,7 +71,7 @@ gulp.task("json", function () {
.src("html/*.json")
.pipe(using())
.pipe(plumber())
.pipe(gulp.dest("ESPixelStick/data"));
.pipe(gulp.dest("data"));
});

/* Image Task */
Expand All @@ -80,12 +80,12 @@ gulp.task("image", function () {
.src(["html/**/*.png", "html/**/*.ico"])
.pipe(using())
.pipe(plumber())
.pipe(gulp.dest("ESPixelStick/data/www"));
.pipe(gulp.dest("data/www"));
});

/* Clean Task */
gulp.task("clean", function () {
return deleteAsync(["ESPixelStick/data/www/*"]);
return deleteAsync(["data/www/*"]);
});

/* Markdown to HTML Task */
Expand Down

0 comments on commit a831095

Please sign in to comment.