Skip to content

Commit 7b37af7

Browse files
committed
Change the name of the generated pdf.sandbox.external for mozilla-central
This patch is blocking https://phabricator.services.mozilla.com/D148600.
1 parent 7761d2b commit 7b37af7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

gulpfile.js

+9-6
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,15 @@ function createSandboxExternal(defines) {
393393
saveComments: false,
394394
defines,
395395
};
396-
return gulp.src("./src/pdf.sandbox.external.js").pipe(
397-
transform("utf8", content => {
398-
content = preprocessor2.preprocessPDFJSCode(ctx, content);
399-
return `${licenseHeader}\n${content}`;
400-
})
401-
);
396+
return gulp
397+
.src("./src/pdf.sandbox.external.js")
398+
.pipe(
399+
transform("utf8", content => {
400+
content = preprocessor2.preprocessPDFJSCode(ctx, content);
401+
return `${licenseHeader}\n${content}`;
402+
})
403+
)
404+
.pipe(rename("pdf.sandbox.external.jsm"));
402405
}
403406

404407
function createTemporaryScriptingBundle(defines, extraOptions = undefined) {

0 commit comments

Comments
 (0)