gulp-cordova-plugin-remove
v1.0.0
Published
This library removes a cordova plugin from the cordova project
Downloads
13
Maintainers
Readme
gulp-cordova-plugin-remove
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