This commit is contained in:
nuno maduro
2026-05-02 17:38:12 +01:00
parent 9f804dc954
commit 57eecb2b3d

View File

@ -162,7 +162,7 @@ final readonly class Fingerprint
{ {
$parts = []; $parts = [];
foreach (['vite.config.ts', 'vite.config.js', 'vite.config.mjs', 'vite.config.cjs', 'vite.config.mts'] as $name) { foreach (JsModuleGraph::VITE_CONFIG_NAMES as $name) {
$hash = self::contentHashOrNull($projectRoot.'/'.$name); $hash = self::contentHashOrNull($projectRoot.'/'.$name);
if ($hash !== null) { if ($hash !== null) {