gulpComprehensive Guide to a Front-end Workflow Automation with Gulpjs -1 of 2


Syntax

  • npm install [plugin-name] --save-dev
  • npm install [plugin-name] --save
  • Function <function-name> (glob) { $.src(glob).pipe([plugin 1]).pipe([plugin 2])....pipe([plugin n]).pipe( $.dest(<destination-name>) }
  • $.task(<taskname> , [dependencies] , <body>);

Remarks