github react-dnd/react-dnd v8.0.1
CommonJS Builds

latest releases: v16.0.0, v15.1.2, v15.1.0...
4 years ago

In v8.0.0 we changed the default module format to ES-Modules. This should enable better tree-shaking performance, and aligns the library with modern web standards supported by greenfield browsers and Node v12. We think it's time to make them the default option.

That being said, we realize that users who expect CommonJS functionality will have some pain with this approach. If you use react-dnd and want CommonJS modules, look for the
dnd-core-cjs,
react-dnd-cjs,
react-dnd-html5-backend-cjs,
react-dnd-test-backend-cjs, and
react-dnd-test-utils-cjs
packages.

Don't miss a new react-dnd release

NewReleases is sending notifications on new releases.