Skip to content

Create Plugin: Introduce experimental Rspack feature flag #1564

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jackw
Copy link
Collaborator

@jackw jackw commented Feb 21, 2025

What this PR does / why we need it:
Now Rspack has released 1.2.4 which includes the subresource integrity plugin - I think we can begin experimenting with using Rspack for bundling plugins.

Note that right now Rspack is missing the functionality to pass a regular expression to the clean feature prevent deletion of backend files in the dist directory.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@5.20.0-canary.1564.14643565723.0
# or 
yarn add @grafana/create-plugin@5.20.0-canary.1564.14643565723.0

@jackw jackw added minor Increment the minor version when merged release Create a release when this pr is merged labels Feb 21, 2025
@jackw jackw self-assigned this Feb 21, 2025
Copy link
Contributor

github-actions bot commented Feb 21, 2025

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 force-pushed the jackw/feature-rspack branch 3 times, most recently from 636f597 to 184efa0 Compare February 25, 2025 15:01
@jackw jackw changed the title [PoC] Create Plugin: Introduce experimental Rspack feature flag Create Plugin: Introduce experimental Rspack feature flag Feb 25, 2025
@jackw jackw moved this from 🧑‍💻 In development to 🔬 In review in Plugins Platform / Grafana Community Feb 25, 2025
@jackw jackw marked this pull request as ready for review February 25, 2025 15:02
@jackw jackw requested a review from a team as a code owner February 25, 2025 15:02
@jackw jackw requested a review from leventebalogh February 25, 2025 15:02
@jackw jackw force-pushed the jackw/feature-rspack branch from 184efa0 to ca0910a Compare April 10, 2025 10:26
@jackw jackw requested a review from a team as a code owner April 10, 2025 10:26
@jackw jackw requested review from andresmgot, oshirohugo and s4kh April 10, 2025 10:26
@jackw jackw force-pushed the jackw/feature-rspack branch 2 times, most recently from ef04d48 to 6b529b0 Compare April 15, 2025 15:06
@jackw jackw force-pushed the jackw/feature-rspack branch from 6b529b0 to e8e9b29 Compare April 24, 2025 14:00
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

LGTM

constructor(options = {}) {
this.options = Object.assign(
{
port: 35729,
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be a random port?

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
Projects
Status: 🔬 In review
Development

Successfully merging this pull request may close these issues.

2 participants