1.0.0 • Published 8 years ago

gulp-cordova-plugin-remove v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

gulp-cordova-plugin-remove

Build Status Coverage Status

Removes a cordova plugin from the cordova project

Installation

npm install --save-dev gulp-cordova-plugin-remove

Usage

const gulp = require('gulp');
const rmplugin = require('gulp-cordova-plugin-remove');

gulp.task('clean', () => {
    return gulp.src('.cordova')
        .pipe(rmplugin('cordova-plugin-console'));
});

This will first add the plugin, builds the android project and then it removes the plugin again.

API

rmplugin(plugin)

plugin

Required
Type: string

The plugin that should be removed from the project.

rmplugin(plugins)

plugins

Required
Type: string[]

A list of plugins that should be removed from the project.

Related

See gulp-cordova for the full list of available packages.

License

MIT © Sam Verschueren