Full ICU is a library that enables internationalization (i18n) in Node.js projects. Node 14 has been released with full ICU by default, and it is planned to reach LTS (Long-term Support) in October 2020. In this article, we show you how to use full ICU with Vercel builds for Node 12.x and 10.x.
First, you need to install the
full-icu package. You can do that by running either of the following commands:
yarn add full-icu
npm install full-icu
As an example, the build command for a Next.js project would be:
NODE_ICU_DATA=node_modules/full-icu next build