grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
55 stars 27 forks source link

Create Plugin: Support WASM in plugin builds #953

Closed jackw closed 3 weeks ago

jackw commented 3 weeks ago

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
:sparkles: Test out this PR locally via: ```bash 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 ```
github-actions[bot] commented 3 weeks ago

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.

grafana-plugins-platform-bot[bot] commented 3 weeks ago

:rocket: PR was released in @grafana/create-plugin@4.12.0 :rocket: