From 72c8562cc9859106f89b12cca1016e5e1b2a8c78 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sun, 14 May 2017 20:47:31 +0900 Subject: 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 --- streaming/.babelrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 streaming/.babelrc (limited to 'streaming/.babelrc') 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" + ] +} -- cgit