Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 459 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 459 Bytes

gulp-metascript

MetaScript filter for Gulp.

Installation

npm install --save-dev gulp-metascript

Usage

var metascriptPipe = require('gulp-metascript');
...
gulp.task('scripts', function() {
    return gulp.src('src/**/*.js')
        .pipe(metascriptPipe({
            //context variables
            SCOPE_VARIABLE: true,
            ...
        }))
        .pipe(gulp.dest('dst/'));
});