@@ -490,8 +490,7 @@ function checkChromePreferencesFile(chromePrefsPath, webPrefs) {
490490
491491function createMainBundle ( defines ) {
492492 const mainFileConfig = createWebpackConfig ( defines , {
493- filename :
494- defines . MINIFIED && ! defines . MOZCENTRAL ? "pdf.min.mjs" : "pdf.mjs" ,
493+ filename : defines . MINIFIED ? "pdf.min.mjs" : "pdf.mjs" ,
495494 library : {
496495 type : "module" ,
497496 } ,
@@ -571,10 +570,7 @@ function createSandboxBundle(defines, extraOptions = undefined) {
571570
572571function createWorkerBundle ( defines ) {
573572 const workerFileConfig = createWebpackConfig ( defines , {
574- filename :
575- defines . MINIFIED && ! defines . MOZCENTRAL
576- ? "pdf.worker.min.mjs"
577- : "pdf.worker.mjs" ,
573+ filename : defines . MINIFIED ? "pdf.worker.min.mjs" : "pdf.worker.mjs" ,
578574 library : {
579575 type : "module" ,
580576 } ,
@@ -1391,7 +1387,7 @@ gulp.task(
13911387 gulp . series (
13921388 createBuildNumber ,
13931389 function scriptingMozcentral ( ) {
1394- const defines = { ...DEFINES , MOZCENTRAL : true , MINIFIED : true } ;
1390+ const defines = { ...DEFINES , MOZCENTRAL : true } ;
13951391 return buildDefaultPreferences ( defines , "mozcentral/" ) ;
13961392 } ,
13971393 async function prefsMozcentral ( ) {
@@ -1400,7 +1396,7 @@ gulp.task(
14001396 function createMozcentral ( ) {
14011397 console . log ( ) ;
14021398 console . log ( "### Building mozilla-central extension" ) ;
1403- const defines = { ...DEFINES , MOZCENTRAL : true , MINIFIED : true } ;
1399+ const defines = { ...DEFINES , MOZCENTRAL : true } ;
14041400 const gvDefines = { ...defines , GECKOVIEW : true } ;
14051401
14061402 const MOZCENTRAL_DIR = BUILD_DIR + "mozcentral/" ,
0 commit comments