1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-30 10:10:13 +02:00
Files
php-web-maker/devdocs/i18n.md
Kushagra Gour af99d0789d update doc
2024-10-30 15:53:22 +05:30

455 B

i18n

⚠️ Update following doc after @babel/preset-react is added to the repo, permanently. The following instructions are outdated and might not be required.

This needs to be added to .babelrc before lingui commands can be run. Otherwise lingui doesn't get the right babel presets and macros plugin to extract strings.

	"presets": ["preact-cli/babel"],
	"plugins": ["macros"],

Why not add it permanently?

Because then app breaks!