Minimal Gulp wrapper.
- Install Gulp.
npm install potions --save-dev
.- Create a
gulpfile.js
file,require('potions')
and define your tasks. - 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
});
CSSSass- Javascript
- File versioning
BubléRollup- Vue.js
- SVG
- Browsersync