Skip to content

Commit 0208367

Browse files
Look into vendor's src/Resources/assets for package.json
1 parent cb22677 commit 0208367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PackageJsonSynchronizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private function resolvePackageJson(array $phpPackage): ?JsonFile
207207
return null;
208208
}
209209

210-
foreach (['/assets', '/Resources/assets'] as $subdir) {
210+
foreach (['/assets', '/Resources/assets', '/src/Resources/assets'] as $subdir) {
211211
$packageJsonPath = $packageDir.$subdir.'/package.json';
212212

213213
if (!file_exists($packageJsonPath)) {

0 commit comments

Comments
 (0)