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

Create Plugin: Support WASM in plugin builds #953

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

jackw
Copy link
Collaborator

@jackw jackw commented Jun 11, 2024

What this PR does / why we need it:
Apps that make use of machine learning libraries are needing WASM support. This PR adds it using the experiments.asyncWebAssembly config option. Whilst still considered experimental (likely due to it arriving whilst the spec was being updated) it seems to have matured and will arrive in next webpack major.

Which issue(s) this PR fixes:

Fixes #933

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@4.12.0-canary.953.116c9d4.0
# or 
yarn add @grafana/create-plugin@4.12.0-canary.953.116c9d4.0

@jackw jackw added minor Increment the minor version when merged release Create a release when this pr is merged labels Jun 11, 2024
@jackw jackw self-assigned this Jun 11, 2024
@jackw jackw requested a review from a team as a code owner June 11, 2024 09:17
@jackw jackw requested review from oshirohugo and removed request for a team June 11, 2024 09:17
Copy link

github-actions bot commented Jun 11, 2024

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new minor release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

@jackw jackw requested review from sd2k, a team and leventebalogh and removed request for oshirohugo and a team June 11, 2024 09:18
Copy link
Contributor

@sd2k sd2k left a comment

Choose a reason for hiding this comment

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

LGTM 🙏

@jackw jackw merged commit d677b00 into main Jun 11, 2024
16 checks passed
@jackw jackw deleted the jackw/cp-support-wasm branch June 11, 2024 10:51
@grafana-plugins-platform-bot
Copy link

🚀 PR was released in @grafana/create-plugin@4.12.0 🚀

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
Development

Successfully merging this pull request may close these issues.

Feat: Support wasm files when bundling plugins
2 participants