You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($this->ensureFileExists && !file_exists($targetPath)) {
40
+
thrownew \LogicException(sprintf('Cannot determine how to locate the "%s" file by combining with the output_path "%s". Looked in "%s".', $path, $buildPath, $targetPath));
41
+
}
42
+
43
+
return$targetPath;
44
+
}
45
+
46
+
/**
47
+
* This method tries to combine the build path and asset path to get a final path.
48
+
*
49
+
* It's really an "attempt" and will work in all normal cases, but not
50
+
* in all cases. For example with this config:
51
+
*
52
+
* output_path: %kernel.project_dir%/public/build
53
+
*
54
+
* If you pass an asset whose path is "build/file1.js", this would
55
+
* remove the duplicated "build" on both and return a final path of:
thrownew \LogicException('In order to use encore_entry_js_source/encore_entry_css_source, the EntrypointLookupInterface must be an instance of EntrypointLookup.');
0 commit comments