ci: fix homebrew

This commit is contained in:
Dax Raad
2025-09-29 01:40:27 -04:00
parent 322363f11b
commit f8ab0de0ad
2 changed files with 1 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ const pkg = await import("../package.json").then((m) => m.default)
const original = JSON.parse(JSON.stringify(pkg))
for (const [key, value] of Object.entries(pkg.exports)) {
const file = value.replace("./src/", "./dist/").replace(".ts", "")
/// @ts-expect-error
pkg.exports[key] = {
import: file + ".js",
types: file + ".d.ts",