From 3fdb592828d45cd90838fc90383c57ecb2d79101 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Tue, 3 Nov 2020 23:11:17 +0100 Subject: [PATCH] Change path to minified file --- packages/lazy-images/src/lazy-images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lazy-images/src/lazy-images.php b/packages/lazy-images/src/lazy-images.php index 7b891cb9202e0..ce934f22fb9bc 100644 --- a/packages/lazy-images/src/lazy-images.php +++ b/packages/lazy-images/src/lazy-images.php @@ -490,7 +490,7 @@ public function enqueue_assets() { ); wp_enqueue_script( 'jetpack-lazy-images', - Assets::get_file_url_for_environment( 'js/lazy-images.min.js', 'js/lazy-images.js', __FILE__ ), + Assets::get_file_url_for_environment( '../dist/lazy-images.min.js', 'js/lazy-images.js', __FILE__ ), array( 'jetpack-lazy-images-polyfill-intersectionobserver' ), self::ASSETS_VERSION, true