make babel actually do full ES6 emulation for Safari 8
parent
98551c3f9a
commit
155728b136
|
@ -27,6 +27,7 @@
|
||||||
"prepublish": "npm run build:css && npm run build:compile"
|
"prepublish": "npm run build:css && npm run build:compile"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"babel-polyfill": "^6.5.0",
|
||||||
"classnames": "^2.1.2",
|
"classnames": "^2.1.2",
|
||||||
"extract-text-webpack-plugin": "^0.9.1",
|
"extract-text-webpack-plugin": "^0.9.1",
|
||||||
"filesize": "^3.1.2",
|
"filesize": "^3.1.2",
|
||||||
|
|
|
@ -16,6 +16,10 @@ limitations under the License.
|
||||||
|
|
||||||
'use strict';
|
'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
|
// CSS requires: just putting them here for now as CSS is going to be
|
||||||
// refactored soon anyway
|
// refactored soon anyway
|
||||||
require('../../vector/components.css');
|
require('../../vector/components.css');
|
||||||
|
|
Loading…
Reference in New Issue