Build the cordova project for the Windows platform.
$ npm install --save-dev https://github.com/trojanc/gulp-cordova-build-windows.git
const gulp = require('gulp');
const create = require('gulp-cordova-create');
const plugin = require('gulp-cordova-plugin');
const windows = require('gulp-cordova-build-windows');
gulp.task('build', () => {
return gulp.src('www')
.pipe(create())
.pipe(plugin('org.apache.cordova.dialogs'))
.pipe(plugin('org.apache.cordova.camera'))
.pipe(windows());
});
This plugin will build the cordova project for the Windows platform.
Type: boolean
Default: false
If the value is true
, this will cause the Windows platform to be removed and re-added.
Type: string
Windows platform version.
See gulp-cordova
for the full list of available packages.
MIT © TrojanC