Bug 1505581 - stop transforming rest/spread. r=lsmyth
authorJason Laster <jlaster@mozilla.com>
Wed, 07 Nov 2018 16:28:28 -0500
changeset 445104 cfbff37ca6e313278a9a303e17d3f3d2365b9dcb
parent 445103 eb3117b5f4fe7b1e521931eef10caab6b19b8cee
child 445105 f9da71cf79f8e693e13520397d63f3ad930e5d02
push id109684
push userjlaster@mozilla.com
push dateThu, 08 Nov 2018 14:50:32 +0000
treeherdermozilla-inbound@cfbff37ca6e3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsmyth
bugs1505581
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1505581 - stop transforming rest/spread. r=lsmyth Tags: Differential Revision: https://phabricator.services.mozilla.com/D11244
devtools/client/debugger/new/build/copy-module.js
--- a/devtools/client/debugger/new/build/copy-module.js
+++ b/devtools/client/debugger/new/build/copy-module.js
@@ -207,18 +207,18 @@ Babel.registerPlugin("transform-mc", tra
 function transform(filePath) {
   const doc = fs.readFileSync(filePath, "utf8");
   const out = Babel.transform(doc, {
     plugins: [
 			"transform-flow-strip-types",
 			"syntax-trailing-function-commas",
 			"transform-class-properties",
 			"transform-es2015-modules-commonjs",
-			"transform-object-rest-spread",
 			"transform-react-jsx",
+      			"syntax-object-rest-spread",
       ["transform-mc", { mappings, vendors: VENDORS, filePath }]
     ]
   });
 
   return out.code;
 }
 
 const deps = [