mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Add pnpm lockfile support
This commit is contained in:
7 files changed
+753
-19
No files matched your search
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user