Skip to content

Commit 5608e97

Browse files
committed
Remove babel-polyfill
Should be no need for it if we're using transform-runtime (and we definitely don't need it twice...)
1 parent d6f27ad commit 5608e97

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

‎package.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"test:multi": "karma start"
3737
},
3838
"dependencies": {
39-
"babel-polyfill": "^6.5.0",
4039
"babel-runtime": "^6.11.6",
4140
"browser-request": "^0.3.3",
4241
"classnames": "^2.1.2",
@@ -67,7 +66,6 @@
6766
"babel-eslint": "^6.1.0",
6867
"babel-loader": "^6.2.5",
6968
"babel-plugin-transform-runtime": "^6.15.0",
70-
"babel-polyfill": "^6.5.0",
7169
"babel-preset-es2015": "^6.16.0",
7270
"babel-preset-es2016": "^6.16.0",
7371
"babel-preset-es2017": "^6.16.0",

‎src/vector/index.js‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ limitations under the License.
1616

1717
'use strict';
1818

19-
// for ES6 stuff like startsWith() that Safari doesn't handle
20-
// and babel doesn't do by default
21-
require('babel-polyfill');
22-
2319
// CSS requires: just putting them here for now as CSS is going to be
2420
// refactored soon anyway
2521
require('../../vector/components.css');

0 commit comments

Comments
 (0)