devowlio / wp-react-starter

🚀WordPress Plugin Boilerplate using modern web techs like TypeScript, SASS, and so on... on top of a local development environment with Docker and predefined GitLab CI for continous integration and deployment!
https://devowl.io/wp-react-starter/
Other
391 stars 50 forks source link

i18n-frontend script slow #18

Closed matzeeable closed 4 years ago

matzeeable commented 5 years ago

When using the yarn i18n-frontend script the .pot file is generated very slowly in compare with yarn i18n-backend. The frontend file is generated from the minified files of the TypeScript code .js and .map files - it takes about 5 seconds. The backend i18n code from the .php files is generated in 0.3 seconds. Perhaps there is a better way to parse the source files .tsx (TypeScript) directly instead of dist files.

matzeeable commented 5 years ago

Todos:

matzeeable commented 4 years ago

Resolved by https://github.com/wp-cli/i18n-command/issues/80#issuecomment-572451958 in wp-reactjs-starter v2 (branch feat/multipackage) which will be released soon.