Skip to content

Commit e74f048

Browse files
committed
fix: admin build with symlinking of shopware
1 parent 4d40f72 commit e74f048

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extension/asset_platform.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func BuildAssetsForExtensions(ctx context.Context, sources []asset.Source, asset
122122
}
123123
}
124124

125-
envList := []string{fmt.Sprintf("PROJECT_ROOT=%s", shopwareRoot)}
125+
envList := []string{fmt.Sprintf("PROJECT_ROOT=%s", shopwareRoot), fmt.Sprintf("ADMIN_ROOT=%s", PlatformPath(shopwareRoot, "Administration", ""))}
126126

127127
if !assetConfig.ContributeProject {
128128
envList = append(envList, "SHOPWARE_ADMIN_BUILD_ONLY_EXTENSIONS=1", "SHOPWARE_ADMIN_SKIP_SOURCEMAP_GENERATION=1")

0 commit comments

Comments
 (0)