0.2.1 • Published 7 years ago

potions v0.2.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

Potions (still under development)

Minimal Gulp wrapper.

How to use

  1. Install Gulp.
  2. npm install potions --save-dev.
  3. Create a gulpfile.js file, require('potions') and define your tasks.
  4. Run gulp in the terminal.

Here's a sample config:

var potions = require('potions');

potions(mix => {
    mix.js(['app.js'], 'app.js') // ES2015 transpiling and CommonJS/ES2015 module bundling
       .sass(['app.scss'], 'app.css') // Autoprefix and compile Sass
       .styles(['vendor/library-a.css','vendor/library-b.css'], 'vendor.css'); // Concatenate and autoprefix CSS files
});

Progress

  • CSS
  • Sass
  • Javascript
  • File versioning
  • Bublé
  • Rollup
  • Vue.js
  • SVG
  • Browsersync