You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gulp-vcl-preprocessor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-vcl-preprocessor

The VCL preprocessor as a gulp task

0.2.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

VCL gulp-vcl-preprocessor

Build Status

The VCL preprocessor as a Gulp task.

Usage

var vcl = require('gulp-vcl-preprocessor');

gulp.task('css', function(){
  gulp.src('app/vcl/*.styl')
    .pipe(vcl({
      // optional options, get passed to vcl-preprocessor
    }))
    .pipe(gulp.dest('dist/css'));
});

Options

output

Specifies the output file. Defaults to the input file name plus the .css extension. If the package is set to true the output will default to style.css.

Example:

  • index.stylindex.css
  • package.jsonstyle.css

package

Pre-process a package instead of a single file. This fetches all dependencies and includes them in the final build.

The includeDevDependencies property that gets passed to the preprocessor can be quite useful when processing a package in development. It will include the dev dependencies as well as the normal ones.

Example:

gulp.task('css', function(){
  gulp.src('./package.json')
    .pipe(vcl({
      package: true, // parses input as package.json instead of trying to pre-process
      output: 'main.css', // output will be written to dist/css/main.css
      includeDevDependencies: true // gets passed to the vcl-preprocessor
    }))
    //.pipe(cssmin())
    .pipe(gulp.dest('dist/css'));
});

Keywords

gulp

FAQs

Package last updated on 16 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.