mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-29 12:59:13 +01:00
Merge commit '16e165d95' into validation/runner-paid-matrix-integrity-v5
* commit '16e165d95': fix(runner): define descriptor bundle module URL
This commit is contained in:
commit
9d2c44514b
1 file changed
+7
-2
@@ -68,12 +68,17 @@ export async function bundleVerifiedProviderEntrypoints({ write = true } = {}) {
|
||||
treeShaking: true,
|
||||
write,
|
||||
logLevel: "silent",
|
||||
banner:
|
||||
format === "cjs"
|
||||
? {
|
||||
js: 'const __paperclipVerifiedEntrypointUrl = require("node:url").pathToFileURL(__filename).href;',
|
||||
}
|
||||
: undefined,
|
||||
define:
|
||||
format === "cjs"
|
||||
? {
|
||||
"import.meta.dirname": "__dirname",
|
||||
"import.meta.url":
|
||||
'require("node:url").pathToFileURL(__filename).href',
|
||||
"import.meta.url": "__paperclipVerifiedEntrypointUrl",
|
||||
}
|
||||
: undefined,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user