Conversation
|
My project is having an error : Attempted import error: 'nelderMead' is not exported from 'fmin' (imported as 'nelderMead') in @AntV. Please merge this MR for fix bug above. |
|
I’m certain there has to be a better way than simply adding file extensions. |
Like remove |
|
Well type: module should be the default in 2024 really. Is there a specific build tool this problem is appearing in? I guess that could be an interim fix, certainly less likely to cause weird problems like including file extensions can definitely cause in the future. |
|
I am experiencing the same error code without AntV after upgrading to 0.0.4. This might be related to webpack not dealing well with UMD modules. Ideally, fmin should be published as an ES module in addition to or instead of an UMD module. Type definition files would of course be another great addition. |
No description provided.