ngx-translate-extract
ngx-translate-extract copied to clipboard
Reduce required Node version to 10
I've done some testing and found that Node v11.5.0 or newer is required (to support array.flat()) which is reflected in v6.0.1
@biesbjerg How about not using Array.prototype.flat()
? There are alternatives.
I guess a lot of people use Node v10, it's LTS 'till 2021-04-30.
Originally posted by @ViieeS in https://github.com/biesbjerg/ngx-translate-extract/issues/169#issuecomment-606393049
My existing project is also on Node 10 and the only way I could get extract to work was to install NVM and switch Node versions just for using this tool, and then switch back.
Bit of a hassle but it's workable.