-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Refine relies on several packages that are either CJS/AMD that for whatever reason the vite bundler does not seem to handle properly. Ignoring that, it would be ideal to use ESM versions were possible, and bring in smaller packages like warn-once
into refine itself.
Packages:
- qs [BUG] qs ESM importing #6910
- papaparse [BUG] papaparse ESM importing #6909
- warn-once [BUG] Merge in warn-once package #6908
- pluralize [BUG] pluralize ESM importing #6914
- error-stack-parser [BUG] error-stack-parser.js?v=8abca3ca' does not provide an export named 'default' #6761
Overall the focus here is vite dev
mode where you get a @fs
proto with direct ESM packages. CJS probably should be put in vite/.deps
but for me at-least, in vite 6, it isn't and these throw an error. I am not able to update to vite 7 myself at this time.
Steps To Reproduce
n/a
Expected behavior
n/a
Packages
n/a
Additional Context
No response
alicanerdurmaz, DoguhanOzgurAkca and BatuhanW
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working