Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Created by anjum on 29/05/17.
const fs = require('fs');
const execSync = require('child_process').execSync;
module.exports = function(context) {
console.log(‘Copying angular 2 "./www" folder.);
const basePath = context.opts.projectRoot;
const baseWWW = basePath + '/www';
"ng build --target=production --environment=prod --output-path cordova/www/ --base-href .",
maxBuffer: 1024*1024,
cwd: basePath + '/..'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.