diff --git a/gulpfile.js b/gulpfile.js index 6174fbd6cc31f..df44b7b018556 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -208,9 +208,6 @@ function createWebpackConfig( } const babelExcludeRegExp = new RegExp(`(${babelExcludes.join("|")})`); - // Since logical assignment operators is a fairly new ECMAScript feature, - // for now we translate these regardless of the `SKIP_BABEL` value (with the - // exception of `MOZCENTRAL`/`TESTING`-builds where this isn't an issue). const babelPlugins = [ "@babel/plugin-transform-modules-commonjs", [ @@ -221,9 +218,6 @@ function createWebpackConfig( }, ], ]; - if (!bundleDefines.MOZCENTRAL && !bundleDefines.TESTING) { - babelPlugins.push("@babel/plugin-proposal-logical-assignment-operators"); - } const plugins = []; if (!disableLicenseHeader) { @@ -1416,7 +1410,6 @@ function buildLibHelper(bundleDefines, inputStream, outputDir) { sourceType: "module", presets: skipBabel ? undefined : ["@babel/preset-env"], plugins: [ - "@babel/plugin-proposal-logical-assignment-operators", "@babel/plugin-transform-modules-commonjs", [ "@babel/plugin-transform-runtime",