Removed babel-polyfill from docs and added ie11 polyfills to main component library

old
Nathan Marks 2015-11-12 10:48:42 -05:00
parent 431bc3a39b
commit 9975b8d33e
5 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,4 @@
import './utils/polyfills'; // Import polyfills for IE11
import App from './app';
import AppBar from './app_bar';
import Autocomplete from './autocomplete';

View File

@ -0,0 +1,5 @@
import 'core-js/fn/array/from';
import 'core-js/fn/array/iterator';
import 'core-js/fn/map';
import 'core-js/fn/string/starts-with';
import 'core-js/fn/symbol';

View File

@ -1,4 +1,3 @@
import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route, IndexRoute } from 'react-router';

View File

@ -22,7 +22,6 @@
"babel-eslint": "^4.1.3",
"babel-loader": "^5.3.2",
"babel-plugin-react-transform": "^1.1.1",
"babel-polyfill": "^6.1.4",
"css-loader": "^0.21.0",
"express": "^4.13.3",
"extract-text-webpack-plugin": "^0.8.2",

View File

@ -53,6 +53,7 @@
"babel-eslint": "^4.1.3",
"babel-loader": "^5.3.2",
"babel-plugin-react-transform": "^1.1.1",
"core-js": "^1.2.6",
"cpx": "^1.2.1",
"css-loader": "^0.21.0",
"eslint": "^1.7.3",