Skip to content

Commit 3471424

Browse files
authored
🩹 fix: allow 'build' to be part of theme or project name (#470)
1 parent d23871b commit 3471424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Roots/Acorn/Assets/Middleware/ViteMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function handle($config)
1818
return $config;
1919
}
2020

21-
if (str_contains($config['path'], '/build')) {
21+
if (str_ends_with($config['path'], '/build')) {
2222
return $config;
2323
}
2424

0 commit comments

Comments
 (0)