wp-cli / i18n-command

Provides internationalization tools for WordPress projects.
MIT License
96 stars 52 forks source link

Add tests for rspack and esbuild bundle output #404

Closed matzeeable closed 1 month ago

matzeeable commented 1 month ago

This is a follow-up to https://github.com/wp-cli/i18n-command/issues/203 and https://github.com/wp-cli/i18n-command/pull/204.

In general, the wp i18n make-pot already works with rspack and esbuild and can extract the strings correctly from the generated bundle.

This PR just adds test for both bundlers.

Reference. https://github.com/wp-cli/wp-cli/issues/5955