Chore: Fix Webpack config for Windows (#84709)

This commit is contained in:
Agnès Toulet 2024-03-19 09:36:54 +01:00 committed by GitHub
parent abb8ba3885
commit 7c17290da5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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],