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
Hi, seem like rollup-plugin-auto-external doesn't support dependencies' dependencies. When I include @babel/polyfill in dependencies, It also require('core-js') in final bundle.
"dependencies": {
"@babel/polyfill": "^7.0.0", // it will require `core-js`"@babel/runtime": "^7.1.5"
}
Then I get a warning here:
'core-js/modules/es6.array.iterator' is imported by xxx.ts, but could not be resolved – treating it as an external dependency
That's what I did temporarily.
external: id=>{try{require(id)// Exited in node_modulesreturntrue}catch(e){}}
The text was updated successfully, but these errors were encountered:
Hi, seem like
rollup-plugin-auto-external
doesn't support dependencies' dependencies. When I include@babel/polyfill
in dependencies, It alsorequire('core-js')
in final bundle.Then I get a warning here:
That's what I did temporarily.
The text was updated successfully, but these errors were encountered: