From 55690c92c8ee0994df1e5a33e32bc8a95ea29bc1 Mon Sep 17 00:00:00 2001 From: Francis Etham <70241286+FrancoFrancis@users.noreply.github.com> Date: Mon, 20 Jun 2022 03:10:57 +0100 Subject: [PATCH] Update gulpfile.js --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 2bfaca4..d2f2e6f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -33,6 +33,7 @@ function buildScripts() { .pipe(dest(DISTRIBUTABLE_PATH)); } + function buildCss() { // store both minified and unminified css to dist return src(`${SOURCE_PATH}/*.css`) @@ -43,6 +44,7 @@ function buildCss() { .pipe(dest(DISTRIBUTABLE_PATH)); } + function generatePackage() { // mainly created for ci, so that package can be uploaded to the release page. // store the package in the build dir & not in the dist @@ -59,4 +61,4 @@ exports.build = series(cleanDist, parallel(buildScripts, buildCss)); exports.package = series(cleanBuild, exports.build, generatePackage); -exports.default = exports.build // default should not generate package. \ No newline at end of file +exports.default = exports.build // default should not generate package.