Skip to content

Commit

Permalink
Merge pull request #15003 from calixteman/mc
Browse files Browse the repository at this point in the history
Change the name of the generated pdf.sandbox.external for mozilla-central
  • Loading branch information
Snuffleupagus authored Jun 8, 2022
2 parents 7761d2b + 7b37af7 commit c8b8db6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c8b8db6

Please sign in to comment.