gwm-if

0.1.0 • Public • Published

gwm-if

gulp-web-modules conditional wrapper plugin based on build type or custom behavior

Usage

var uglify = require('gwm-uglify');
  ...
  plugins: [
    base: [
      ...
      gwmIf(uglify(), 'prod')

This will include the 'uglify' plugin if the build type is 'prod'

/gwm-if/

    Package Sidebar

    Install

    npm i gwm-if

    Weekly Downloads

    1

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • jhudson