Skip to content

Commit

Permalink
Add whole babelrc configuration example (#13891)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamataryo authored and youknowriad committed Feb 15, 2019
1 parent af68f20 commit 9fb2353
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/babel-plugin-makepot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
Babel plugin used to scan JavaScript files for use of localization functions. It then compiles these into a [gettext POT formatted](https://en.wikipedia.org/wiki/Gettext) file as a template for translation. By default the output file will be written to `gettext.pot` of the root project directory. This can be overridden using the `"output"` option of the plugin.

```json
[ "@wordpress/babel-plugin-makepot", {
"output": "languages/myplugin.pot"
} ]
{
"plugins": [
[ "@wordpress/babel-plugin-makepot", { "output": "languages/myplugin.pot" } ],
]
}
```

## Installation
Expand Down

0 comments on commit 9fb2353

Please sign in to comment.