diff --git a/packages/grafana-plugin-configs/utils.ts b/packages/grafana-plugin-configs/utils.ts index a02a2d8d16f..a8b3dbd113c 100644 --- a/packages/grafana-plugin-configs/utils.ts +++ b/packages/grafana-plugin-configs/utils.ts @@ -12,7 +12,7 @@ export function getPluginJson() { } export async function getEntries(): Promise> { - const pluginModules = await glob(path.resolve(process.cwd(), `module.{ts,tsx}`)); + const pluginModules = await glob(path.resolve(process.cwd(), `module.{ts,tsx}`), { absolute: true }); if (pluginModules.length > 0) { return { module: pluginModules[0],