UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

16 lines 595 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseRunParameters = void 0; function parseRunParameters(runOptions, options) { Object.keys(options).forEach((optionKey) => { if (typeof options[optionKey] === 'boolean' && options[optionKey]) { runOptions.push(`--${optionKey}`); } else if (options[optionKey]) { runOptions.push(`--${optionKey}=${options[optionKey]}`); } }); return runOptions; } exports.parseRunParameters = parseRunParameters; //# sourceMappingURL=stencil-parameters.js.map