Skip to content

Commit

Permalink
Add script to build pot file with PHP and JS texts
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho committed May 28, 2020
1 parent 13afb9f commit 897c821
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 83 deletions.
12 changes: 12 additions & 0 deletions babel.makepot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
presets: [
'@automattic/calypso-build/babel/wordpress-element',
'@automattic/calypso-build/babel/default',
],
plugins: [
[
'@wordpress/babel-plugin-makepot',
{ output: 'lang/tmp-sensei-lms-js.pot' },
],
],
};
Loading

0 comments on commit 897c821

Please sign in to comment.