Skip to content

Commit

Permalink
fix: generate dom component path starting from the dirname of the ori…
Browse files Browse the repository at this point in the history
…ginal entrypoint

This resolves an issue with `node_modules` accidentally being added to the entrypoint path
  • Loading branch information
byCedric committed Sep 7, 2024
1 parent dbcc0f3 commit 6a3f780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/expo-atlas/src/data/MetroGraphSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function getEntryPoint(
return environment !== 'dom'
? options.entryPoint
: path.join(
options.entryPoint,
path.dirname(options.entryPoint),
options.graph.transformOptions.customTransformOptions!.dom as string
);
}

0 comments on commit 6a3f780

Please sign in to comment.