UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

15 lines 558 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseRunParameters = parseRunParameters; 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; } //# sourceMappingURL=stencil-parameters.js.map