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
This commit is contained in:
parent
882e4f5322
commit
72c8562cc9
3 changed files with 19 additions and 68 deletions
15
streaming/.babelrc
Normal file
15
streaming/.babelrc
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"presets": [
|
||||
[
|
||||
"env",
|
||||
{
|
||||
"targets": {
|
||||
"node": "current"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": [
|
||||
"transform-object-rest-spread"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue