diff --git a/babel.config.js b/babel.config.js index 786d5ac46..659c0d744 100644 --- a/babel.config.js +++ b/babel.config.js @@ -4,7 +4,6 @@ module.exports = api => { return { presets: ['@babel/env', '@babel/react', '@babel/flow'], plugins: [ - '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import', 'import-glob', '@babel/plugin-transform-runtime', diff --git a/package.json b/package.json index 2b7f1f721..10473940c 100644 --- a/package.json +++ b/package.json @@ -79,6 +79,7 @@ "babel-plugin-add-module-exports": "^1.0.0", "babel-plugin-import-glob": "^2.0.0", "babel-plugin-transform-imports": "^1.5.1", + "babel-plugin-transform-object-rest-spread": "^6.26.0", "bluebird": "^3.5.1", "chalk": "^2.4.2", "classnames": "^2.2.5", diff --git a/ui/component/sideBar/view.jsx b/ui/component/sideBar/view.jsx index 773069067..8817e470d 100644 --- a/ui/component/sideBar/view.jsx +++ b/ui/component/sideBar/view.jsx @@ -5,7 +5,6 @@ import React from 'react'; import Button from 'component/button'; import Tag from 'component/tag'; import StickyBox from 'react-sticky-box/dist/esnext'; -import 'css-doodle'; import Spinner from 'component/spinner'; type Props = { diff --git a/yarn.lock b/yarn.lock index fdc20f2cb..5d6a6d890 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1863,6 +1863,11 @@ babel-plugin-import-glob@^2.0.0: identifierfy "^1.1.0" minimatch-capture "^1.1.0" +babel-plugin-syntax-object-rest-spread@^6.8.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" + integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U= + babel-plugin-transform-imports@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-imports/-/babel-plugin-transform-imports-1.5.1.tgz#b3756696aea907719d0d63b0e67c88fba963adb0" @@ -1875,6 +1880,14 @@ babel-plugin-transform-imports@^1.5.1: lodash.kebabcase "^4.1.1" lodash.snakecase "^4.1.1" +babel-plugin-transform-object-rest-spread@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" + integrity sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY= + dependencies: + babel-plugin-syntax-object-rest-spread "^6.8.0" + babel-runtime "^6.26.0" + babel-polyfill@^6.2.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"