We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35bc13c commit cffae35Copy full SHA for cffae35
package.json
@@ -1,10 +1,22 @@
1
{
2
- "name": "react-dropzone",
+ "name": "react-dropzone-esm",
3
"description": "Simple HTML5 drag-drop zone with React.js",
4
"version": "14.2.3",
5
- "main": "dist/index.js",
6
- "module": "dist/es/index.js",
7
- "types": "types/react-dropzone.d.ts",
+ "types": "./types/react-dropzone.d.ts",
+ "main": "./dist/cjs/index.js",
+ "module": "./dist/esm/index.mjs",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
12
+ "default": "./dist/esm/index.mjs"
13
+ },
14
+ "require": {
15
16
+ "default": "./dist/cjs/index.js"
17
+ }
18
19
20
"sideEffects": false,
21
"scripts": {
22
"clean": "rm -rf ./dist",
0 commit comments