Skip to content

Commit

Permalink
fix: improve esm support
Browse files Browse the repository at this point in the history
Co-authored-by: pangxiaoli <qiubit@qiubit.cc>
  • Loading branch information
johnwalley and pangxiaoli committed Dec 28, 2023
1 parent 6af56d7 commit 0512d71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -3,7 +3,11 @@
"version": "1.19.3",
"description": "React split-pane component",
"exports": {
".": "./dist/modern.mjs",
".": {
"require": "./dist/legacy.js",
"import": "./dist/modern.mjs",
"types": "./dist/types/src/index.d.ts"
},
"./dist/": "./dist/"
},
"main": "./dist/legacy.js",
Expand Down

0 comments on commit 0512d71

Please sign in to comment.