Merge pull request #15003 from calixteman/mc

Change the name of the generated pdf.sandbox.external for mozilla-central
This commit is contained in:
Jonas Jenwald 2022-06-08 10:44:10 +02:00 committed by GitHub
commit c8b8db6a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {