-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Warning: Accessing non-existent property 'tracing' of module exports inside circular dependency #206
Comments
I apologise if the issue is not appropriate. I am using dts with multi entry and its driving me nuts with all the warnings. Thank you for looking into this. Let me know If I can help with anything. |
I think those warnings come from your rollup config file. Rollup itself uses rollup to load the config file, essentially inlining all |
Thank you for the response. I was looking into it and found the the dist file if we have I will look a bit more and may reach out to ttypescript to understand this better. Will close this issue with whatever I find. |
Hey @JobaerAhamed, I've just been coming across all the errors that you have been when setting up jest transformer to be compiled with ttypescript. Did you end up finding much from ttypescript? Many thanks! Apologies unrelated to rollup-plugin |
@IsaacMcIntyre Yeah, I was able to resolve it by importing
Let me know if it works for you as well. |
importing |
Checklist
Other plugins, such as
node-resolve
are known to cause issues..d.ts
files generated by TypeScript.The plugin can consume
.ts
and even.js
files (withallowJs: true
), but this is known to cause issues.@types
.The plugin ignores these by default, unless
respectExternal
is set.@types
can contain hand-crafted code which is known to cause issues.Code Snipped
Here is a repo to reproduce the issue : https://github.com/JobaerAhamed/dts-issue. It has more info on repo readme
In short, with a config as provided below, it produces warning. If we don't import ttypescript, it does not produce warnings.
versions:
input file:
my-input/index.d.ts'
Error Message
with tracing (1 of many):
The text was updated successfully, but these errors were encountered: