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, saveComments: false,
defines, defines,
}; };
return gulp return gulp.src("./src/pdf.sandbox.external.js").pipe(
.src("./src/pdf.sandbox.external.js") transform("utf8", content => {
.pipe( content = preprocessor2.preprocessPDFJSCode(ctx, content);
transform("utf8", content => { return `${licenseHeader}\n${content}`;
content = preprocessor2.preprocessPDFJSCode(ctx, content); })
return `${licenseHeader}\n${content}`; );
})
)
.pipe(rename("pdf.sandbox.external.jsm"));
} }
function createTemporaryScriptingBundle(defines, extraOptions = undefined) { function createTemporaryScriptingBundle(defines, extraOptions = undefined) {