GENL / matice

Use your Laravel translations in JavaScript.
MIT License
99 stars 15 forks source link

choose which trans namespaces to export #11

Closed lsmith77 closed 3 years ago

lsmith77 commented 3 years ago

Expected behavior

only selected name spaces are exported to js to control the size of the javascript file

Current behavior

all namespaces are exported

GENL commented 3 years ago

This can be useful if there are too many translations. I will add it in the next release. It will be possible to specify in the config file a white list of folders or files to export. Likewise, it will be possible to define a blacklist of folders and files that should not be exported.

lsmith77 commented 3 years ago

awesome thx

GENL commented 3 years ago

Now available in release 1.1.5