Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No unminified code available #3840

Closed
neutraali opened this issue Nov 28, 2022 · 0 comments · Fixed by #4622
Closed

No unminified code available #3840

neutraali opened this issue Nov 28, 2022 · 0 comments · Fixed by #4622

Comments

@neutraali
Copy link

I was wondering how the todayButton -prop was implemented at the source level, only to find out that there's no unminified code available in the package (react-datepicker@4.8.0):

/path/to/project/node_modules/react-datepicker$ ls -lah dist
total 428K
drwxrwxr-x 2 user user 4,0K Nov 28 17:10 es
-rw-rw-r-- 1 user user  86K Oct 26  1985 index.js
-rw-rw-r-- 1 user user  24K Oct 26  1985 react-datepicker.css
-rw-rw-r-- 1 user user  26K Oct 26  1985 react-datepicker-cssmodules.css
-rw-rw-r-- 1 user user  24K Oct 26  1985 react-datepicker-cssmodules.min.css
-rw-rw-r-- 1 user user  88K Oct 26  1985 react-datepicker.js
-rw-rw-r-- 1 user user  22K Oct 26  1985 react-datepicker.min.css
-rw-rw-r-- 1 user user  88K Oct 26  1985 react-datepicker.min.js
-rw-rw-r-- 1 user user  24K Oct 26  1985 react-datepicker-min.module.css
-rw-rw-r-- 1 user user  26K Oct 26  1985 react-datepicker.module.css

^ It's evident straight from the directory listing that react-datepicker.js and react-datepicker.min.js are the exact same size.

It would be useful to have the uncompressed code available.

yuki0410-dev added a commit to yuki0410-dev/react-datepicker that referenced this issue Mar 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
yuki0410-dev added a commit to yuki0410-dev/react-datepicker that referenced this issue Mar 20, 2024
yuki0410-dev added a commit to yuki0410-dev/react-datepicker that referenced this issue Mar 20, 2024
martijnrusschen added a commit that referenced this issue Mar 20, 2024
fix: #3840 Rollup config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant