Skip to content

Conversation

heath-freenome
Copy link
Member

Reasons for making this change

Fixed #4678 by using the lodashReplacer during the shadcn package build

  • In @rjsf/shadcn fixed the esm build to use lodash-es as follows:
    • Copied the tsconfig.replacer.json from core
    • Updated the package.json to compile the replacer as part of the esm build
    • Updated the tsconfig.build.json to add the lodashReplacer to the tsc-alias config
  • Updated the CHANGELOG.md accordingly

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npx nx run-many --target=build --exclude=@rjsf/docs && npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

Fixed #4678 by using the lodashReplacer during the shadcn package build
- In `@rjsf/shadcn` fixed the esm build to use lodash-es as follows:
  - Copied the `tsconfig.replacer.json` from `core`
  - Updated the `package.json` to compile the replacer as part of the esm build
  - Updated the `tsconfig.build.json` to add the `lodashReplacer` to the `tsc-alias` config
- Updated the `CHANGELOG.md` accordingly
@heath-freenome heath-freenome merged commit 33fb35f into main Jul 11, 2025
4 checks passed
@heath-freenome heath-freenome deleted the fix-4678 branch July 11, 2025 21:32
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.

lodash/pick throwing ERR_MODULE_NOT_FOUND when using @rjsf/shadcn

2 participants