mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-11 17:04:12 +01:00
13 lines
298 B
Markdown
13 lines
298 B
Markdown
# i18n
|
|
|
|
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!
|