Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n-frontend script slow #18

Closed
matzeeable opened this issue Jul 24, 2019 · 2 comments
Closed

i18n-frontend script slow #18

matzeeable opened this issue Jul 24, 2019 · 2 comments
Assignees

Comments

@matzeeable
Copy link
Member

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
Copy link
Member Author

Todos:

@matzeeable
Copy link
Member Author

Resolved by wp-cli/i18n-command#80 (comment) in wp-reactjs-starter v2 (branch feat/multipackage) which will be released soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant