-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
[typescript] external dependency error is not a function #943
Comments
Not replicable with older versions:
|
It seems to depend on rollup version. For example, using the same version of `@rollup/plugin-typescript: 5.0.1":
|
@cdalexndr can you try your reproduction with the latest version of rollup? @lukastaegert not sure if this is related to rollup main, but it looks like it's annotated by rollup. |
Same issue with latest versions:
|
Added replication steps in sample repository readme. It's easy enough to test. |
This issue prevents me from upgrading rollup, and I'm stuck with old bugs, such as watch mode ending on compile error. |
Prevents typescript from using interop, that can cause problems: rollup/plugins#943
It seems the that problem is fastdom using an old export syntax Changing fastdom to The same results are obtained using typescript option Although the problem is resolved, this doesn't explain why the old version works. |
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ |
Expected Behavior
No error.
Actual Behavior
Uncaught TypeError: fastdom__namespace.measure is not a function
Additional Information
Build produces a
_interopNamespace
function that breaksfastdom
dependency:The text was updated successfully, but these errors were encountered: