refactor: Use wildcard ESM import for pluralize - #6915
Conversation
|
✅ Deploy Preview for refine-doc-live-previews ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I have made this a draft as this has needed a patch to use the existing library. The crux is still that the vite dev server, for me at-least in vite 6 is not handling this CJS/AMD in dev mode, and ive tried a lot of things... |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
What is the current behavior?
What is the new behavior?
fixes #6914
Notes for reviewers
Could not use
esmmodule because it hid the plural and singular API's behind a wrapper. So having to use a*import to keep compatibility...