gulp-cordova-plugin-remove

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i gulp-cordova-plugin-remove

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • samverschueren