Skip to content

Commit 63db0b1

Browse files
committed
address review issues
1 parent bb778cb commit 63db0b1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ Please follow the recommendations outlined at [keepachangelog.com](http://keepac
1818
### [Unreleased]
1919
Changes since the last non-beta release.
2020

21-
#### Fixed
21+
#### Breaking
2222
- Reduced bundle size [PR 1697](https://github.com/shakacode/react_on_rails/pull/1697) by [Romex91](https://github.com/Romex91)
23-
- Migrated from CJS to ESM for more compact modules (~1KB improvement)
23+
- Migrated from CJS to ESM for more compact modules (~1KB improvement). **Breaking change:** All dependencies running `require('react-on-rails')` will need to update to ESM `import ReactOnRails from 'react-on-rails'`.
2424
- Add export option 'react-on-rails/client' to avoid shipping server-rendering code to browsers (~14KB improvement).
25+
26+
#### Fixed
2527
- Fix obscure errors by introducing FULL_TEXT_ERRORS [PR 1695](https://github.com/shakacode/react_on_rails/pull/1695) by [Romex91](https://github.com/Romex91).
2628

2729
### [14.1.1] - 2025-01-15

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"allowJs": true,
44
"esModuleInterop": true,
55
"jsx": "react-jsx",
6-
"lib": ["dom", "ESNext"],
7-
"module": "ESNext",
6+
"lib": ["dom", "es2015"],
7+
"module": "es2015",
88
"moduleResolution": "bundler",
99
"noImplicitAny": true,
1010
"outDir": "node_package/lib",
1111
"strict": true,
1212
"incremental": true,
13-
"target": "ESNext"
13+
"target": "es2015"
1414
},
1515
"include": ["node_package/src/**/*"]
1616
}

0 commit comments

Comments
 (0)