@ngneat/transloco
Version:
The internationalization (i18n) library for Angular
19 lines • 587 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const process_1 = require("process");
const schematics_1 = require("@angular-devkit/schematics");
const v2_1 = require("./v2");
function default_1(options) {
return () => {
if (!options.path) {
throw new schematics_1.SchematicsException(`
Please specify the root source of your project.
(e.g. --path ./src/app)
`);
}
(0, v2_1.run)(options.path);
(0, process_1.exit)();
};
}
exports.default = default_1;
//# sourceMappingURL=index.js.map