Skip to content

Commit

Permalink
Update RollupBundler.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon authored Nov 21, 2024
1 parent 8470ee6 commit af0cf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/compilers/RollupBundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const reformUrl = (url: string): string => {

const path: string = [
`${library}@${version}`,
...elements.slice(library.startsWith("@") ? 2 : 1).join("/"),
...elements.slice(library.startsWith("@") ? 2 : 1),
].join("/");
return `https://esm.sh/${path}`;
};

0 comments on commit af0cf1b

Please sign in to comment.