Skip to content

Commit

Permalink
Merge pull request roots#1456 from colinduwe/allow-revved-files-on-dev
Browse files Browse the repository at this point in the history
Allow revved production files on dev environment
  • Loading branch information
austinpray committed May 6, 2015
2 parents 067927f + 999adc6 commit 09ef46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 09ef46e

Please sign in to comment.