react-dropzone-esm
Advanced tools
Comparing version 14.3.0 to 14.4.0
{ | ||
"name": "react-dropzone-esm", | ||
"description": "Simple HTML5 drag-drop zone with React.js", | ||
"version": "14.3.0", | ||
"version": "14.4.0", | ||
"types": "./types/react-dropzone.d.ts", | ||
@@ -11,3 +11,3 @@ "main": "./dist/cjs/index.js", | ||
"import": { | ||
"types": "./types/react-dropzone.d.ts", | ||
"types": "./types/react-dropzone.d.mts", | ||
"default": "./dist/esm/index.mjs" | ||
@@ -14,0 +14,0 @@ }, |
# react-dropzone-esm | ||
`react-dropzone-esm` is a fork of [react-dropzone](https://github.com/react-dropzone/react-dropzone). | ||
The purpose of the fork is to provide a version of `react-dropzone` that is compatible with | ||
modern frameworks which use ES modules (Remix v2, newer versions of Next.js, Vite). | ||
The package provides esm and cjs bundles. It is compatible both with modern build tools | ||
like Remix v2 and with older tools like Webpack 4. | ||
## Differences from react-dropzone | ||
- ESM and CJS bundles | ||
- Properly configured `package.json` exports | ||
- ESM bundle is shipped with `.mjs` extension | ||
- Unused files are removed from the published package (docs, logos, etc.) | ||
Note that it is not planned to fix any bugs or add new features to this package. | ||
The only purpose of this package is to provide a version of `react-dropzone` that | ||
is compatible with modern frameworks. Source code of `react-dropzone` library is not modified | ||
in any way. | ||
## Documentation | ||
Documentation was removed from the forked package to simplify maintenance. [Please refer to the original package for documentation](https://react-dropzone.js.org/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32282
9
25