1.0.2 • Published 5 years ago

pug-wav v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

PUG WAV

#####Install Gulp:

npm i gulp

#####Create gulpfile.js

var gulp = require('gulp');
var run = require('pug-wav');
var options = {
    path: {
        input: {
            scss: 'src/scss',
            js: 'src/js',
            pug: 'src/pug'
        },
        output: {
            css: 'htdocs/css',
            js: 'htdocs/js',
            html: 'htdocs'
        },
        filename: {
            css: 'style.css',
            js: 'script.css'
        }
    },
    //task: style, script, pug, w3cjs, browser-sync, watch
    task: ['style', 'script', 'pug', 'watch', 'browser-sync']
}
//default
gulp.task('default', run(options));

#####Run:

gulp