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
{{ message }}
This repository has been archived by the owner on May 11, 2018. It is now read-only.
Hi, after running babel-env-preset with useBuiltIns: true for node (v7.6) environment got in console:
Using targets:
{
"node": 7.6
}
Modules transform: false
Using plugins:
syntax-trailing-function-commas {"node":7.6}
Using polyfills:
es7.string.pad-start {"node":7.6}
es7.string.pad-end {"node":7.6}
web.timers {"node":7.6}
web.immediate {"node":7.6}
web.dom.iterable {"node":7.6}
So, I was surprised to find 'web' polyfills included in the final node build (I use webpack for both node and web). Of course I could use exclude option, but probably it should be default behaviour for node env.
The text was updated successfully, but these errors were encountered:
Hi, after running
babel-env-preset
withuseBuiltIns: true
for node (v7.6) environment got in console:So, I was surprised to find 'web' polyfills included in the final node build (I use webpack for both node and web). Of course I could use
exclude
option, but probably it should be default behaviour fornode
env.The text was updated successfully, but these errors were encountered: