You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
following code:
it will fail in IE11 with message "Promise is not defined".
How can i add polyfill to my vendor bundle?
The text was updated successfully, but these errors were encountered: