aboutsummaryrefslogtreecommitdiffstats
path: root/web/.babelrc
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-06-02 10:24:33 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-06-02 10:24:33 -0700
commitd84610a41db70b073d2fbdbd36d7d12792cc9da3 (patch)
tree50935df0e07a1780a5aa0fd0e15647592121b466 /web/.babelrc
parent5e385405ca38aec56575be688d4906036f3bb650 (diff)
downloadmitmproxy-d84610a41db70b073d2fbdbd36d7d12792cc9da3.tar.gz
mitmproxy-d84610a41db70b073d2fbdbd36d7d12792cc9da3.tar.bz2
mitmproxy-d84610a41db70b073d2fbdbd36d7d12792cc9da3.zip
web: use object spread operator
While the spread operator is not part of ES6, React also uses it for JSX. It makes sense for us to keep it in other parts of the codebase as well.
Diffstat (limited to 'web/.babelrc')
-rw-r--r--web/.babelrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/.babelrc b/web/.babelrc
index 5dd7708c..e2d67e33 100644
--- a/web/.babelrc
+++ b/web/.babelrc
@@ -1,4 +1,4 @@
{
"presets": ["es2015", "react"],
- "plugins": ["transform-class-properties"]
+ "plugins": ["transform-class-properties", "transform-object-rest-spread"]
} \ No newline at end of file