Transloco Optimize
This library will do the following things:
- AOT translation file flatting
- Remove translators comments
- Minify the JSON file
#
Installation#
UsageAdd to your package.json
the following script:
package.json
Then, add the following config option to the application Transloco config
object:
You can also use it as a function: