Skip to content

Commit

Permalink
Change the name of the generated pdf.sandbox.external for mozilla-cen…
Browse files Browse the repository at this point in the history
…tral

This patch is blocking https://phabricator.services.mozilla.com/D148600.
  • Loading branch information
calixteman committed Jun 8, 2022
1 parent 7761d2b commit 7b37af7
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 7b37af7

Please sign in to comment.