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.