Skip to content

Commit

Permalink
feat: resolve imports from the worker
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers authored Jun 10, 2021
1 parent dab68e5 commit 396d18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playground-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ const validateImportMap = (importMap: unknown): string[] => {
);
}
try {
new URL(resolutionResult);
new URL(resolutionResult, import.meta.url);
} catch {
errors.push(
`Import map key "${specifierKey}" is invalid because` +
Expand Down

0 comments on commit 396d18d

Please sign in to comment.