Change the name of the generated pdf.sandbox.external for mozilla-central

This patch is blocking https://phabricator.services.mozilla.com/D148600.
This commit is contained in:
Calixte Denizet 2022-06-08 09:26:17 +02:00
parent 7761d2bf95
commit 7b37af7eb4

View File

@ -393,12 +393,15 @@ function createSandboxExternal(defines) {
saveComments: false,
defines,
};
return gulp.src("./src/pdf.sandbox.external.js").pipe(
transform("utf8", content => {
content = preprocessor2.preprocessPDFJSCode(ctx, content);
return `${licenseHeader}\n${content}`;
})
);
return gulp
.src("./src/pdf.sandbox.external.js")
.pipe(
transform("utf8", content => {
content = preprocessor2.preprocessPDFJSCode(ctx, content);
return `${licenseHeader}\n${content}`;
})
)
.pipe(rename("pdf.sandbox.external.jsm"));
}
function createTemporaryScriptingBundle(defines, extraOptions = undefined) {