Add pnpm lockfile support

This commit is contained in:
Alex Gleason committed 2025-10-16 13:41:47 -05:00
1 parent d87700e731
commit cbf55c9117
7 files changed
+753 -19

No files matched your search

+1 -1
View File
@@ -325,7 +325,7 @@ export function esmPlugin(options: EsmPluginOptions): Plugin {
? `${cdnName}@${version}${packagePath}`
: `${cdnName}${packagePath}`;
const url = new URL(`${esmUrl}/*${specifier}`);
const url = new URL(`${esmUrl}/${specifier}`);
if (target) url.searchParams.set("target", target);
if (childLockPath) url.searchParams.set("lp", encodeURIComponent(childLockPath));