App plugin development using the non-minified dev environment

We are building an app plugin and we often get react framework related issues. However, Grafana throws its minified version of error message which is difficult to debug and fix. This may be because Grafana picks up the code from /dist folder.

I wanted to know if there is a way to use the non-minified dev environment/ react for app plugin development to ease the debugging and error understanding, Grafana should pick the code from src directory.

Also, if someone can help me to know if there is a way to run app plugin standalone application like a normal react app. Of course, final application will be deployed in Grafana as a plugin.

Hi vikashk,

If you wish to run your plugin with a non-minified environment you can then clone the grafana repository and run it locally from the code.

Here’s a guide on how to setup your environment grafana/developer-guide.md at main · grafana/grafana · GitHub