xiCO2k / laravel-vue-i18n

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

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

Closed jason-nabooki closed 1 week ago

jason-nabooki commented 1 month 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 1 week ago

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

Thanks.