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

Fix the backend executable name for create-plugin #180

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Conversation

iwysiu
Copy link
Contributor

@iwysiu iwysiu commented Mar 15, 2023

Currently, using yarn removes all the built backend files from dist, which is both inconvenient and confusing for development. This is because the webpack.config.ts from create-plugin expects backend executables to match the /gpx_.*/ regex. This changes the executable name to match what is expected, so the files aren't removed.

fixes: #179

@iwysiu iwysiu requested review from fridgepoet and zoltanbedi March 15, 2023 21:29
Copy link
Member

@zoltanbedi zoltanbedi left a comment

Choose a reason for hiding this comment

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

This is awesome! thanks for figuring this out @iwysiu!

@tolzhabayev
Copy link

tolzhabayev commented Mar 23, 2023

This was already addressed grafana/plugin-tools#207 in 1.1.1
No need to change anything but mostly fyi

@zoltanbedi
Copy link
Member

Thanks for letting us know @tolzhabayev!

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.

Bug: building the frontend removes all the backend builds
4 participants