Skip to content

Commit

Permalink
Register built assets
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieur-z committed Jun 18, 2024
1 parent 3ab2519 commit 6b5ca9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static function add_hooks() {
public static function init() {
Assets::register_script(
'jetpack-customizer-css',
'custom-css/js/core-customizer-css.core-4.9.js',
'../../build/core-customizer-css/core-customizer-css.js',
__FILE__,
array(
'dependencies' => array(
Expand All @@ -65,13 +65,13 @@ public static function init() {
'underscore',
),
'in-footer' => true,
'css_path' => 'custom-css/css/customizer-control.css',
'css_path' => '../../build/customizer-control/customizer-control.css',
)
);

Assets::register_script(
'jetpack-customizer-css-preview',
'custom-css/js/core-customizer-css-preview.js',
'../../build/core-customizer-css-preview/core-customizer-css-preview.js',
__FILE__,
array(
'dependencies' => array(
Expand Down
1 change: 1 addition & 0 deletions projects/plugins/wpcomsh/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"./vendor/phpunit/phpunit/phpunit --colors=always"
],
"test-php": [
"jetpack build packages/jetpack-mu-wpcom",
"@composer phpunit"
],
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
Expand Down

0 comments on commit 6b5ca9b

Please sign in to comment.