Skip to content

Commit

Permalink
Using arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 25, 2023
1 parent cda615f commit e44711e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ import webpack from "webpack-stream";
import backendWebpackConfig from "./backend.webpack.config.js";
import frontendWebpackConfig from "./frontend.webpack.config.js";

gulp.task("build:appsscript", function () {
return gulp.src("src/appsscript.json").pipe(gulp.dest("dist/"));
});
gulp.task("build:appsscript", () =>
gulp.src("src/appsscript.json").pipe(gulp.dest("dist/")),
);

gulp.task("build:frontend", function () {
return gulp
gulp.task("build:frontend", () =>
gulp
.src("src/frontend/index.ts")
.pipe(webpack(frontendWebpackConfig(undefined, {})))
.pipe(filter(["index.html"]))
.pipe(replace("\u0085", "\\u0085"))
.pipe(gulp.dest("dist/"));
});
.pipe(gulp.dest("dist/")),
);

gulp.task("build:backend", function () {
return gulp
gulp.task("build:backend", () =>
gulp
.src("src/backend/index.ts")
.pipe(webpack(backendWebpackConfig))
.pipe(gulp.dest("dist/"));
});
.pipe(gulp.dest("dist/")),
);

gulp.task(
"build",
Expand Down

0 comments on commit e44711e

Please sign in to comment.