mirror of
https://github.com/grafana/grafana.git
synced 2024-12-23 15:40:19 -06:00
Chore: Fix Webpack config for Windows (#84709)
This commit is contained in:
parent
abb8ba3885
commit
7c17290da5
@ -12,7 +12,7 @@ export function getPluginJson() {
|
||||
}
|
||||
|
||||
export async function getEntries(): Promise<Record<string, string>> {
|
||||
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],
|
||||
|
Loading…
Reference in New Issue
Block a user