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

Update global object fix #4940

Merged
merged 18 commits into from Apr 21, 2024
Merged

Update global object fix #4940

merged 18 commits into from Apr 21, 2024

Conversation

octoclonius
Copy link
Contributor

@octoclonius octoclonius commented Jan 13, 2024

The changes are to the webpack.config.js files in each of the addon's folders. I set the global object to globalThis. I think this should fix the addons because when I import them, I get an error saying self is not defined.

Copy link

@ManojkumarV ManojkumarV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoodbyeNJN
Copy link

Is there any progress on this PR? I am also troubled by this problem, recompiling addon after using this patch works fine for me.

@FRSgit
Copy link

FRSgit commented Mar 11, 2024

@Tyriar Do you think this PR is something that could be merged in nearest future? Is anything needed here to unblock it?

It's blocking usage of the library with nuxt (in SSR context it tends to fail).

@Tyriar Tyriar added this to the 5.6.0 milestone Apr 21, 2024
@Tyriar Tyriar self-assigned this Apr 21, 2024
@Tyriar Tyriar merged commit 6be1c3f into xtermjs:master Apr 21, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants