grafana / grafana/plugin-tools

Feat: Create `add` cmd script to use Rspack

Open
#2,310 0 comments 0 reactions 1 assignee Claimed by @jackw View on GitHub
enhancement no stalebot
Dominant language
TypeScript
Stars
89
Forks
57
Avg merge
3d 17h
Merged PRs (30d)
37

Description

### Which areas does this feature request relate to

- [x] Create Plugin
- [ ] Sign Plugin
- [ ] Plugin E2E
- [ ] Plugin Meta Extractor
- [ ] Documentation

### Problem

To use Rspack instead of Webpack, one can set the `useExperimentalRspack` flag to true when scaffolding new plugins. However, since migrations-as-updates was introduced recently, feature flags are no longer being honoured when running the update cmd.

### Solution

Create an addition script that allows plugin devs to optionally enable this capability. We can then remove the logic related to the `useExperimentalRspack` feature toggle inside our templates.

### Alternatives

_No response_

### Additional context

_No response_

### Are you interested in contributing the solution?

- [ ] Yes
- [ ] No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.