@nxworker/workspace
Version:
Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports
18 lines (17 loc) • 527 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "toAbsoluteWorkspacePath", {
enumerable: true,
get: function() {
return toAbsoluteWorkspacePath;
}
});
const _devkit = require("@nx/devkit");
const _nodepath = require("node:path");
function toAbsoluteWorkspacePath(filePath) {
const normalized = (0, _devkit.normalizePath)(filePath);
return _nodepath.posix.join('/', normalized);
}
//# sourceMappingURL=to-absolute-workspace-path.js.map