Skip to content

Conversation

@compulim
Copy link
Owner

@compulim compulim commented Oct 22, 2025

Changelog

Please copy and paste new entries from CHANGELOG.md here.

Changed

  • Changed ECMAScript target version, by @compulim, in PR #108
    • CommonJS will target ES2019, changed from ESNext, will support Webpack 4
    • ES Modules will continue to target ESNext

Specific changes

Please list each individual specific change in this pull request.

  • Modified packages/react-chain-of-responsibility/tsup.config.ts to target CJS with ES2019
    • Webpack 4 does not understand optional chaining (?.) which introduced in ES2020
    • We can lower the target to older version as we see fit, CJS is not our core scenario and people should understand CJS means they are using older systems

@compulim compulim marked this pull request as ready for review October 22, 2025 01:50
@compulim compulim enabled auto-merge (squash) October 22, 2025 01:51
@compulim compulim merged commit 275c1f4 into main Oct 22, 2025
15 checks passed
@compulim compulim deleted the feat-cjs-es2019 branch October 22, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant