var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });

// src/utils/replaceFileExtension.ts
var replaceFileExtension = /* @__PURE__ */ __name((filename, extension) => filename.replace(/\.[^.]+$/, extension.startsWith(".") ? extension : `.${extension}`), "replaceFileExtension");
export {
  replaceFileExtension
};
//# sourceMappingURL=replaceFileExtension.js.map