"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.loadProjectConfig = loadProjectConfig;
async function loadProjectConfig(configFilePath) {
  let config;
  try {
    config = require(configFilePath);
  } catch {
    config = await import(configFilePath);
  }
  if ('default' in config) {
    config = config.default;
  }
  return config;
}
//# sourceMappingURL=loadProjectConfig.js.map