Skip to content

Commit

Permalink
fix(build): make sure to generate .mo files
Browse files Browse the repository at this point in the history
  • Loading branch information
zizzfizzix committed Jul 28, 2023
1 parent e22fcc5 commit 704ca8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ package() {

npm install
npm run build

wp i18n make-mo ./languages

pushd ..

case $1 in
Expand All @@ -41,7 +44,7 @@ package() {
-x "*/Gruntfile.js" \
-x "*/vite.config.js" \
-x "*/package*.json" \
-x "*/languages/*.po*"
-x "*/languages/*.po"
;;
develop)
zip -r ${pkgname}/${pkgname}.zip ./${pkgname}/ \
Expand Down

0 comments on commit 704ca8e

Please sign in to comment.