about summary refs log tree commit diff
path: root/streaming/.babelrc
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-05-14 20:47:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-14 13:47:31 +0200
commit72c8562cc9859106f89b12cca1016e5e1b2a8c78 (patch)
treea42098c30fe270695fa61c38b786dcf3184ed605 /streaming/.babelrc
parent882e4f53221b13ead821093561ae4b665cea3a35 (diff)
Use babel-preset-env on Streaming Server (#2998)
* Use babel-preset-env on Streaming Server

Change the streaming server to use babel-preset-env as well as asset compilation.
This shortens the load time at first boot.

* remove babel-plugin-lodash
Diffstat (limited to 'streaming/.babelrc')
-rw-r--r--streaming/.babelrc15
1 files changed, 15 insertions, 0 deletions
diff --git a/streaming/.babelrc b/streaming/.babelrc
new file mode 100644
index 000000000..dc1ec4303
--- /dev/null
+++ b/streaming/.babelrc
@@ -0,0 +1,15 @@
+{
+  "presets": [
+    [
+      "env",
+      {
+        "targets": {
+          "node": "current"
+        }
+      }
+    ]
+  ],
+  "plugins": [
+    "transform-object-rest-spread"
+  ]
+}