Skip to content

Commit 2f38481

Browse files
Fixed core ESM builds (#4514)
There are two `tsconfig.json` files in core and the second one in `src` also needed the `tsc-alias` block - Updated the `src/tsconfig.json` to add the `tsc-alias` block to support proper building of the ESM version
1 parent a28ab78 commit 2f38481

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
1515
should change the heading of the (upcoming) version to include a major version bump.
1616
1717
-->
18+
# 5.24.6
19+
20+
## @rjsf/core
21+
22+
- Fixed `src/tsconfig.json` to add the `tsc-alias` block to support proper fixing up of ESM import
23+
1824
# 5.24.5
1925

2026
## @rjsf/utils

packages/core/src/tsconfig.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,15 @@
1919
{
2020
"path": "../../validator-ajv8"
2121
}
22-
]
22+
],
23+
"tsc-alias": {
24+
"resolveFullPaths": true,
25+
"verbose": true,
26+
"replacers": {
27+
"lodash": {
28+
"enabled": true,
29+
"file": "lodashReplacer.js"
30+
}
31+
}
32+
}
2333
}

0 commit comments

Comments
 (0)