Skip to content

Commit

Permalink
Fix entry points and exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-lee committed Nov 27, 2023
1 parent f266ca3 commit e0c2c02
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "react-avatar-editor",
"version": "14.0.0-beta.3",
"description": "Avatar / profile picture component. Resize and crop your uploaded image using a intuitive user interface.",
"main": "src/index.js",
"module": "src/index.ts",
"types": "src/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"require": "./src/index.ts",
"import": "./src/index.ts",
"types": "./src/index.ts"
}
},
"scripts": {
Expand Down

0 comments on commit e0c2c02

Please sign in to comment.