Skip to content

iamiota/react-dropzone-esm

This branch is 1 commit ahead of rtivital/react-dropzone-esm:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 19, 2024
Mar 13, 2025
Nov 19, 2024
Oct 20, 2015
Nov 19, 2024
Nov 19, 2024
Oct 1, 2023
Nov 19, 2024
Oct 3, 2018
Nov 19, 2024
Nov 19, 2024
Oct 2, 2023
Nov 19, 2024

Repository files navigation

react-dropzone-esm

react-dropzone-esm is a fork of 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.

Installation

With yarn:

yarn add react-dropzone-esm

With npm:

npm install react-dropzone-esm

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.

Manual tests

Manual tests are performed for each new release during the development of @mantine/dropzone package.

Changelog

  • 15.0.0 – Initial release (react-dropzone as of end of 2023)
  • 15.2.0 – Update react-dropzone as of end 2024

About

Fork of react-dropzone with full ESM and CJS support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.2%
  • TypeScript 2.8%