I usually yarn build, and put the dist into grafana/data/plugins/{custom_filename}/dist. And restart grafana, check it in grafana.