-
Notifications
You must be signed in to change notification settings - Fork 508
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
Ability to disable creating CJS dist/index.js
file
#382
Comments
With #367 you can do something like Related to #367, #175 , #276 , #299, and #321 . I believe the example here improves on my workaround for #321 as well, though I haven't tested it myself. Based on all the issues, seems like TSDX should have better support for multi-entry and |
So as I mentioned in #276 (comment) , the use of
Going to close this as won't fix because there isn't really a need to disable creating
Please see #276 (comment) for a better |
dist/index.js
file
dist/index.js
filedist/index.js
file
Current Behavior
I have customized the
tsdx.config.js
as suchHope it to generate files that match the structure of sources in
${format}
dir .However, there always is a
dist/index.js
file, which is not desired.Desired Behavior
Only
esm
andcjs
dirs are generated, nodist
dir.Suggested Solution
Support some customization to allow the pattern of keeping the structure of source files.
Who does this impact? Who is this for?
?
Describe alternatives you've considered
As
cjs
is not for the future, I may disable generating cjs modules to workaround it for some time. But it is not perfect.The text was updated successfully, but these errors were encountered: