mirror of
https://github.com/run-llama/workflows-ts.git
synced 2026-08-26 17:06:46 -04:00
[PR #111] [MERGED] fix: build and export all middlewares to esm and cjs modules #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/workflows-ts/pull/111
Author: @CdTgr
Created: 5/28/2025
Status: ✅ Merged
Merged: 5/28/2025
Merged by: @himself65
Base:
main← Head:cjs/middleware-state📝 Commits (2)
d439891Build and export all middlewares to esm and cjs modules1ff6161Create afraid-gifts-give.md📊 Changes
3 files changed (+54 additions, -9 deletions)
View changed files
➕
.changeset/afraid-gifts-give.md(+5 -0)📝
packages/core/package.json(+48 -8)📝
packages/core/tsdown.config.ts(+1 -1)📄 Description
Description
All the middlewares were currently built and exported in ESM modules.
Therefore, any projects using CJS would cause context issues inside the package.
Conditions
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.