mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
add METEOR_CORDOVA_DISABLE env
This commit is contained in:
@@ -596,7 +596,8 @@ async function doRunCommand(options) {
|
||||
const buildMode = options.production ? 'production' : 'development';
|
||||
|
||||
let cordovaRunner;
|
||||
if (!_.isEmpty(runTargets)) {
|
||||
const shouldDisableCordova = Boolean(JSON.parse(process.env.METEOR_CORDOVA_DISABLE || 'false'));
|
||||
if (!shouldDisableCordova && !_.isEmpty(runTargets)) {
|
||||
|
||||
async function prepareCordovaProject() {
|
||||
import { CordovaProject } from '../cordova/project.js';
|
||||
|
||||
Reference in New Issue
Block a user