lephyrus / ngx-translate-messageformat-compiler

Advanced pluralization (and more) for ngx-translate, using standard ICU syntax which is compiled with the help of messageformat.js.
MIT License
93 stars 29 forks source link

messageformat update #91

Closed giacomo closed 2 years ago

giacomo commented 2 years ago

Which version of 'messageformat' is the last supported version of this plugin?

ngx-translate-messageformat-compiler/fesm2020/ngx-translate-messageformat-compiler.mjs depends on 'messageformat'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Is there any chance of getting rid of the warning message? Without the use of allowedCommonJsDependencies?

Angular Version: 14 ngx-translate-messageformat-compiler: latest messageformat: 2.3.0

tuuling commented 2 years ago

messageformat npm package is actually depracated and moved to https://www.npmjs.com/package/@messageformat/core Might as well switch it out to the correct one.

lephyrus commented 2 years ago

Closing as duplicate of #74.