@nstudio/angular
Version:
Angular Plugin for xplat
14 lines (13 loc) • 521 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
const schematics_1 = require("@angular-devkit/schematics");
const xplat_utils_1 = require("@nstudio/xplat-utils");
function default_1(options) {
return (0, schematics_1.chain)([
(0, xplat_utils_1.prerun)(options, true),
options.platforms
? (tree, context) => (0, schematics_1.externalSchematic)('@nstudio/angular', 'xplat', options)
: (0, schematics_1.noop)(),
]);
}
;