UNPKG

474 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.parseName = void 0;
4var core_1 = require("@angular-devkit/core");
5function parseName(path, name) {
6 var nameWithoutPath = (0, core_1.basename)(name);
7 var namePath = (0, core_1.dirname)((path + '/' + name));
8 return {
9 name: nameWithoutPath,
10 path: (0, core_1.normalize)('/' + namePath),
11 };
12}
13exports.parseName = parseName;
14//# sourceMappingURL=parse-name.js.map
\No newline at end of file