idiotWu / smooth-scrollbar

Customizable, Extendable, and High-Performance JavaScript-Based Scrollbar Solution.

Home Page:https://idiotwu.github.io/smooth-scrollbar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polyfills.js depends on 'core-js/es/array/from'. CommonJS or AMD dependencies can cause optimization bailouts.

xmlking opened this issue · comments

with angular 13 , getting following warnings

Warning: /SPA/ngx-starter-kit/node_modules/smooth-scrollbar/polyfills.js depends on 'core-js/es/array/from'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /SPA/ngx-starter-kit/node_modules/smooth-scrollbar/polyfills.js depends on 'core-js/es/map'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /SPA/ngx-starter-kit/node_modules/smooth-scrollbar/polyfills.js depends on 'core-js/es/object/assign'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /SPA/ngx-starter-kit/node_modules/smooth-scrollbar/polyfills.js depends on 'core-js/es/set'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /SPA/ngx-starter-kit/node_modules/smooth-scrollbar/polyfills.js depends on 'core-js/es/weak-map'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

This issue will be solved after we remove all the polyfills in v9. However, as for v8, you may still get the above warnings until ES modules are supported by core-js: zloirock/core-js#893