react-dnd: CJS module import is broken on latest
Describe the bug Latest CJS packages seem to be broken (9.3.3). Using 9.2.1 works. See codesandbox or the log below:
[ error ] ./node_modules/react-dnd-cjs/lib/common/DndContext.js
Module not found: Can't resolve 'dnd-core' in '/mnt/c/dev/foobar/app/node_modules/react-dnd-cjs/lib/common'
{ Error: Cannot find module 'dnd-core'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
Reproduction
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 20
- Comments: 29 (12 by maintainers)
I’m out until the 20th - feel free to reopen this if the problem persists. Thanks!
I’m removing the absolute URLs from the create_packages script, it should be up in a minute
9.3.9 looks good on my end
Thanks for your patience, I apologize for cutting a bunch of patches in a row. Those probably should have been prereleases.
I do see that the typings field is missing in the CJS - I’ll do another release for that