mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
committed by
Ryan McKinley
parent
6c50feb252
commit
31f4dea3d0
@@ -56,6 +56,8 @@ export const bundlePlugin = async ({ watch, production }: PluginBundleOptions) =
|
||||
compiler.run((err: Error, stats: webpack.Stats) => {
|
||||
if (err) {
|
||||
reject(err.message);
|
||||
|
||||
return;
|
||||
}
|
||||
if (stats.hasErrors()) {
|
||||
stats.compilation.errors.forEach(e => {
|
||||
|
Reference in New Issue
Block a user