Feature Request
Describe your use case and the problem you are facing
A while back support was added to pass extensions to the make-json command: #439 but the make-pot still has hardcoded extensions for JS extraction. https://github.com/wp-cli/i18n-command/blob/main/src/MakePotCommand.php#L672
Describe the solution you'd like
I want to be able to pass the TS extension to make-pot. A current workaround is to include a dist folder, but of course, it would be much nicer to have references to the actual code in the resulting pot file.
Feature Request
Describe your use case and the problem you are facing
A while back support was added to pass extensions to the make-json command: #439 but the make-pot still has hardcoded extensions for JS extraction. https://github.com/wp-cli/i18n-command/blob/main/src/MakePotCommand.php#L672
Describe the solution you'd like
I want to be able to pass the TS extension to make-pot. A current workaround is to include a dist folder, but of course, it would be much nicer to have references to the actual code in the resulting pot file.