Skip to content

Commit

Permalink
Add gulp production task
Browse files Browse the repository at this point in the history
  • Loading branch information
DevWael committed Feb 19, 2024
1 parent b93c238 commit eca1ab2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,10 @@ gulp.task(

})
);

/**
* Production Tasks.
*
* Compile all assets files and exit.
*/
gulp.task( 'production', gulp.parallel( ...styleTasks, ...styleMinTasks, ...scriptTasks ) );
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"scripts": {
"start": "gulp",
"zip": "gulp zip",
"production": "gulp production",
"styles": "gulp styles",
"styles-rtl": "gulp stylesRTL",
"translate": "gulp translate",
Expand Down

0 comments on commit eca1ab2

Please sign in to comment.