Skip to content

Commit

Permalink
fix: fix exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
paolostyle committed Jan 21, 2025
1 parent e8b771c commit d707d7d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@
"style": "dist/react-datepicker.min.css",
"exports": {
".": {
"import": "./dist/es/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/es/index.js"
}
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/es/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./dist/*.css": "./dist/*.css"
},
"files": ["*.md", "dist", "lib", "es", "src/stylesheets"],
"sideEffects": ["**/*.css"],
Expand Down

0 comments on commit d707d7d

Please sign in to comment.