Skip to content

Commit

Permalink
Add build command for admin JS assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
10upsimon committed Aug 17, 2023
1 parent 61829fa commit 9f12f4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"pretest-php-multisite": "wp-env run composer 'install --no-interaction'",
"test-php-multisite": "wp-env run phpunit 'WP_MULTISITE=1 phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/tests/multisite.xml --verbose'",
"wp-env": "wp-env",
"prepare": "husky install"
"prepare": "husky install",
"build:admin-js": "wp-scripts build ./src/admin/assets/js/**.js --output-path=admin/assets/js/"
},
"lint-staged": {
"*.php": [
Expand Down

0 comments on commit 9f12f4c

Please sign in to comment.