Skip to content

alenabdula/gulp-rollupjs-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp Task for rollup.js

Rollup.js the next-generation JavaScript module bundler allows you to bundle your JavaScript dependencies. In addition, it offers tree-shaking. Tree-shaking?

Normally if you require a module, you import the whole thing. ES2015 lets you just import the bits you need, without mucking around with custom builds. - rollupjs.org

Rollup.js comes with plug-ins, Bublé for example, allows you to compile code from ES6 to ES5.

Getting started

  1. run npm install from root directory, this will install following dependencies:
  2. gulp, JavaScript task runner
  3. rollup, JavaScript bundler
  4. rollup-plugin-buble, JavaScript compiler plug-in
  5. Compiling code can be accomplished in two ways, by typing:
  6. gulp, will use Gulpfile.js and run default Gulp task
  7. npm run rollup, will use rollup.config.js and run compiling process via terminal

About

Boilerplate for using rollup.js with Gulp & Command Line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published