xiCO2k / laravel-vue-i18n

Allows to connect your `Laravel` Framework translation files with `Vue`.
MIT License
621 stars 51 forks source link

Possibility of tree shake or purge keys not used? #185

Closed jason-nabooki closed 2 months ago

jason-nabooki commented 3 months ago

With the way the package was built, what is the likelihood of it being possible to tree shake or purge language keys not used in Vue files from the json files generated? Kind of like how tailwind only includes classes used.

xiCO2k commented 2 months ago

Could be a good addition, can you make a PR?

Thanks.