"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = parseDirPath;

function _path() {
  const data = _interopRequireDefault(require("path"));

  _path = function () {
    return data;
  };

  return data;
}

/**
 * parse given dir path
 * @param {*} dirPath
 */
function parseDirPath(dirPath) {
  return _path().default.parse(dirPath).dir.split(_path().default.delimiter);
}