Webpack plugin
(Maybe TurboPack in the future)
Two of the goals of next-translate is to be a tiny library (~2kb) and to have no external dependencies.
Since this plugin uses TypeScript compiler dependency, and we don't want you to have to bring extra kb into the pipeline, we have chosen to separate next-translate and next-translate-plugin with two distinct packages.
This way you can save this as devDependencies
instead of dependencies.
yarn add next-translate-plugin -D
or
npm install next-translate-plugin --save-dev
All the documentation is in Next-translate repository:
Thanks goes to these wonderful people (emoji key):
Josef Hes 💻 |