From 5608e977194f84279001e7fe89da5573e790548e Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 12 Oct 2016 17:23:01 +0100 Subject: [PATCH] Remove babel-polyfill Should be no need for it if we're using transform-runtime (and we definitely don't need it twice...) --- package.json | 2 -- src/vector/index.js | 4 ---- 2 files changed, 6 deletions(-) diff --git a/package.json b/package.json index a850e0c2..36b159f1 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "test:multi": "karma start" }, "dependencies": { - "babel-polyfill": "^6.5.0", "babel-runtime": "^6.11.6", "browser-request": "^0.3.3", "classnames": "^2.1.2", @@ -67,7 +66,6 @@ "babel-eslint": "^6.1.0", "babel-loader": "^6.2.5", "babel-plugin-transform-runtime": "^6.15.0", - "babel-polyfill": "^6.5.0", "babel-preset-es2015": "^6.16.0", "babel-preset-es2016": "^6.16.0", "babel-preset-es2017": "^6.16.0", diff --git a/src/vector/index.js b/src/vector/index.js index acad100b..00f517fc 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -16,10 +16,6 @@ limitations under the License. 'use strict'; -// for ES6 stuff like startsWith() that Safari doesn't handle -// and babel doesn't do by default -require('babel-polyfill'); - // CSS requires: just putting them here for now as CSS is going to be // refactored soon anyway require('../../vector/components.css');