diff --git a/lib/assets.php b/lib/assets.php index 39acfa7..4f1fea5 100644 --- a/lib/assets.php +++ b/lib/assets.php @@ -58,7 +58,7 @@ function asset_path($filename) { $manifest = new JsonManifest($manifest_path); } - if (WP_ENV !== 'development' && array_key_exists($file, $manifest->get())) { + if (array_key_exists($file, $manifest->get())) { return $dist_path . $directory . $manifest->get()[$file]; } else { return $dist_path . $directory . $file;