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

This commit is contained in:
calixteman 2022-06-10 11:34:28 +02:00 committed by GitHub
parent 5d88233fbb
commit c8f6cb9fcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -393,15 +393,12 @@ function createSandboxExternal(defines) {
saveComments: false,
defines,
};
return gulp
.src("./src/pdf.sandbox.external.js")
.pipe(
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) {