-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Provide types for cjs #39
Comments
Heads up - we've ran into many headaches with |
Oh, thanks for the info. https://github.com/asamuzaK/cssColor/pull/40/files#diff-49d1dc69c8e7ce7933ae32b3bfadd131053a95f01f43e69886688f576f4d93e6 Anyway, I'm not planning to merge it unless we can't get confirmation from everyone else. |
This is the main issue we ran into: |
Read below:
It seems that On the other hand, tsup seems actively maintained but has many issues and looks a bit fragile. We need to consider a little more to use tsup or not? Thanks for your info. |
This was our experience as well 100%. FWIW, I know you were mentioning not wanting to migrate towards TypeScript, but it does enable easier generation of these kinds of CJS style typings because you can leverage Moreover, I had taken a stab at doing some of the migration just to get a sense of the effort (strict mode et al) and got about halfway through. While there's some code that'd be pretty gnarly in TypeScript in
Which I believe the migration suggestion in #38 (Config, Vitest, TypeScript source files, et al) would help mitigate in the long run while making the code and packaging more manageable. I'd be happy to finish the migration if you'd like, but also understand if you'd rather not. Let me know :)
|
Okay, let's move on.
No worries at all. |
One note: |
Split from #38
Maybe tsup should do?
The text was updated successfully, but these errors were encountered: