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

feat(wasm): Add empty functions for js builds to enable WASM builds #887

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BigJk
Copy link
Contributor

@BigJk BigJk commented Dec 25, 2023

Hello charm ヾ(^∇^)

In this write-up I laid out which changes would be needed to make bubbletea easily compile for WASM: https://github.com/BigJk/bubbletea-in-wasm

One of the changes would be to introduce some simple filler functions for js inside bubbletea so that a build with GOOS=js GOARCH=wasm won't break. These are contained in this pull request 😀 Additionally 2 dependencies needs to be bumped but I didn't include it into this PR atm as this depends on the response in atotto/clipboard#48

I still opened the PR to track the progress and will gladly answer any questions!

@BigJk BigJk changed the title Add empty functions for js builds to enable WASM builds feat(wasm): Add empty functions for js builds to enable WASM builds Dec 25, 2023
@maaslalani
Copy link
Member

Hi! Thanks so much for the PR! I believe this is a duplicate of #748

@cwarden
Copy link

cwarden commented Jan 12, 2024

Can we move this forward by using a fork of the clipboard package?

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

3 participants