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

Add polyfills to web bundle #1401

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

pderaaij
Copy link
Collaborator

@pderaaij pderaaij commented Oct 9, 2024

I did some online testing and located some issues with Foam running as web extension. The problem I found is that hovers on wikilinks were not working. This is caused by a missing Buffer dependency. It needs to be explicitly bundled into the package. This PR adds a polyfill for this.

Additionally, vscode-test-web was not added in the first PR as dev dependency. This PR corrects that making the command npm run open-in-browser work again.

@riccardoferretti this requires a new publish of the web extension.

Copy link
Collaborator

@riccardoferretti riccardoferretti left a comment

Choose a reason for hiding this comment

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

Looking good, thanks @pderaaij !

@riccardoferretti riccardoferretti merged commit 9d0ba87 into foambubble:master Oct 9, 2024
3 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.

2 participants