You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom webpack.config.ts so modified the scripts in my package.json to point to ./webpack.config.ts instead of ./.config/webpack/webpack.config.ts. When I run yarn create @grafana/plugin update, it always overrides the scripts back to using the original webpack config file.
What you expected to happen
If the scripts have been customised, they should be ignored by the update process.
How to reproduce it (as minimally and precisely as possible)
Create a plugin
Modify the build script to point to a different webpack config
@jackw mind taking a quick look? If just needs putting on the backlog as a bug feel free to do so and remove yourself as assignee if not able to look at in the near term
This is a known issue that we're gonna need to put some thought into to help devs selectively update the various parts of their project when running the command. I'm gonna remove myself for the time being and try to get a proposal together on how that could look.
Which package(s) does this bug affect?
Package versions
What happened?
I have a custom webpack.config.ts so modified the scripts in my package.json to point to
./webpack.config.ts
instead of./.config/webpack/webpack.config.ts
. When I runyarn create @grafana/plugin update
, it always overrides the scripts back to using the original webpack config file.What you expected to happen
If the scripts have been customised, they should be ignored by the update process.
How to reproduce it (as minimally and precisely as possible)
yarn create @grafana/plugin update
Environment
The text was updated successfully, but these errors were encountered: