You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \InvalidArgumentException(sprintf('The entrypoint "%s" depends on "%s", but that package is not in the importmap.', implode('", "', $entrypointNames), $dependency));
90
-
}
87
+
if (!isset($rawImportMapData[$dependency])) {
88
+
thrownew \InvalidArgumentException(sprintf('The entrypoint "%s" depends on "%s", but that package is not in the importmap.', $entry, $dependency));
89
+
}
91
90
92
-
// re-order the final array by order of dependencies
@@ -497,6 +501,10 @@ private function findEagerEntrypointImports(string $entryName): array
497
501
thrownew \InvalidArgumentException(sprintf('The entrypoint "%s" is not an entry point in "importmap.php". Set "entrypoint" => true to make it available as an entrypoint.', $entryName));
498
502
}
499
503
504
+
if ($rootImportEntries->get($entryName)->isRemote()) {
505
+
thrownew \InvalidArgumentException(sprintf('The entrypoint "%s" is a remote package and cannot be used as an entrypoint.', $entryName));
thrownew \InvalidArgumentException(sprintf('The path "%s" of the entrypoint "%s" mentioned in "importmap.php" cannot be found in any asset map paths.', $rootImportEntries->get($entryName)->path, $entryName));
0 commit comments