Created
January 21, 2019 08:40
-
-
Save zinigor/e318917759c6f70d479a46ff4383a91d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/babel.config.js b/babel.config.js | |
index d9be17f131..cb96a7eb2e 100644 | |
--- a/babel.config.js | |
+++ b/babel.config.js | |
@@ -55,6 +55,16 @@ const config = { | |
{ | |
test: './client/gutenberg/extensions', | |
plugins: [ | |
+ [ | |
+ '@wordpress/babel-plugin-makepot', | |
+ { | |
+ output: 'editor.pot', | |
+ headers: { | |
+ 'content-type': 'text/plain; charset=UTF-8', | |
+ 'x-generator': 'calypso', | |
+ }, | |
+ }, | |
+ ], | |
[ | |
'@wordpress/import-jsx-pragma', | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment