-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
It seems like adding 'babel-polyfill' to the top of client/index.js or server/index.js doesn't affect vendor bundle. For example, if you create new project with kyt-cli and then add to
node_modules/react/lib/React.js
following code:
var promiseTest = new Promise(function(resolve){
console.log('i am promise in react!');
resolve('hi react');
});
promiseTest.then(function(successMessage) {
console.log(successMessage);
});
it will fail in IE11 with message "Promise is not defined".
How can i add polyfill to my vendor bundle?
Metadata
Metadata
Assignees
Labels
No labels