CommonJS dependencies in handsontable 13

Tags: #<Tag:0x00007f136c935ea0> #<Tag:0x00007f136c935c48>

Hi there,
I use handsontable with Angular 16 and have a lot of warnings in the console about CommonJS depencencies

index.js:489 [webpack-dev-server] WARNING
C:\...\node_modules\handsontable\core.mjs depends on 'core-js/modules/es.array.sort.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

[webpack-dev-server] WARNING
C:\...\node_modules\handsontable\core.mjs depends on 'core-js/modules/es.number.is-integer.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

...

In total there are 15 different warnings.

I also read the post here which is already two years old: CommonJS or AMD dependencies can cause optimization bailouts

Is there any new development regarding this issue?

Thanks a lot for your help.

Hi @stephan.tanner

The reason for this errors is still the same as my colleague mentioned in his last post in the topic you linked. However, there is the idea to get rid of polyfills in the core Handsontable. Until it gets into the development phase there’s not much we can do about it for now.

Hi, is this on the tentative roadmap or is this actively being developed?

Hi @nois , at the moment we only have issues for Q1/24 listed but surely will let you know as soon as we fix this issue.