potions
v0.2.1
Published
Minimal Gulp wrapper.
Maintainers
Readme
Potions (still under development)
Minimal Gulp wrapper.
How to use
- Install Gulp.
npm install potions --save-dev.- Create a
gulpfile.jsfile,require('potions')and define your tasks. - Run
gulpin 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
