lukasbach / react-complex-tree

Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop
https://rct.lukasbach.com
MIT License
952 stars 77 forks source link

v2.0.3 not include style-modern.css #218

Closed tsingson closed 1 year ago

tsingson commented 1 year ago

Describe the bug v2.0.3 not include style-modern.css

To Reproduce

6:27:45 AM [vite] ✨ new dependencies optimized: react-complex-tree
6:27:45 AM [vite] ✨ optimized dependencies changed. reloading
Failed to resolve import "react-complex-tree/lib/style-modern.css" from "src/tree/index.tsx". Does the file exist?
 /front/node_modules/react-complex-tree/lib   ls
total 808
276607375 drwxr-xr-x   8 qinshen  staff     256 Feb  5 03:28 ./
276606671 drwxr-xr-x   7 qinshen  staff     224 Feb  5 03:28 ../
276615507 -rw-r--r--   1 qinshen  staff   86369 Feb  4 16:02 bundle.js
276615512 -rw-r--r--   1 qinshen  staff  311888 Feb  4 16:02 bundle.js.map
276607808 drwxr-xr-x  36 qinshen  staff    1152 Feb  5 03:28 cjs/
276607804 drwxr-xr-x  36 qinshen  staff    1152 Feb  5 03:28 esm/
276607805 drwxr-xr-x  36 qinshen  staff    1152 Feb  5 03:28 esnext/
276615498 -rw-r--r--   1 qinshen  staff    4391 Feb  4 16:02 style.css

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

lukasbach commented 1 year ago

Whoops 🙃

Thanks for the report, the file should now be included as of v2.0.4.