Closed matzeeable closed 4 years ago
Todos:
babel-loader?cacheDirectory=public/cache/babel-loader
and then generate pot files from that directoryResolved 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.
When using the
yarn i18n-frontend
script the.pot
file is generated very slowly in compare withyarn 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.