UNPKG

@conarti/eslint-plugin-feature-sliced

Version:
14 lines (13 loc) 408 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extractNodePath = void 0; const path_1 = require("../path"); function extractNodePath(node) { const targetPath = node.source.value; const normalizedTargetPath = (0, path_1.normalizePath)(targetPath); return { targetPath, normalizedTargetPath, }; } exports.extractNodePath = extractNodePath;