@spartacus/schematics
Version:
Spartacus schematics
14 lines • 579 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
function default_1(options) {
return (host, context) => {
return schematics_1.chain([
schematics_1.schematic('add-spartacus', options),
options.pwa ? schematics_1.schematic('add-pwa', options) : schematics_1.noop(),
options.ssr ? schematics_1.schematic('add-ssr', options) : schematics_1.noop(),
])(host, context);
};
}
exports.default = default_1;
//# sourceMappingURL=index.js.map