Skip to content

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

Open
BigJk wants to merge 3 commits into
charmbracelet:mainfrom
BigJk:master
Open

feat(wasm): Add empty functions for js builds to enable WASM builds#887
BigJk wants to merge 3 commits into
charmbracelet:mainfrom
BigJk:master

Conversation

@BigJk

@BigJk BigJk commented Dec 25, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@cwarden

cwarden commented Jan 12, 2024

Copy link
Copy Markdown

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

@Dunkansdk

Copy link
Copy Markdown

Hello! Can we move this forward? Thanks!

@aymanbagabas aymanbagabas deleted the branch charmbracelet:main October 28, 2024 17:41
@aymanbagabas aymanbagabas reopened this Oct 28, 2024
@aymanbagabas aymanbagabas changed the base branch from master to main October 28, 2024 17:53
@joeblew999

Copy link
Copy Markdown

Status ?

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.

6 participants