From 999adc6466c1adf0dbea820827fafaac88f02ba7 Mon Sep 17 00:00:00 2001 From: Colin Duwe Date: Tue, 5 May 2015 16:49:49 -0700 Subject: [PATCH] Allow revved production files on dev environment --- lib/assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;