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
When using shopware-cli project ci with Shopware 6.5, especially with B2B Suite? It seems to be rebuilding the storefront files every time, even though they already come with the extension.
This is because shopware-cli is looking for a shopware 6.6 style path
Because the path does not match, the tool builds the assets of swagb2bplatform, and the result overrides the original minified JS file. This new file is broken and can not be used; you will get an error like in the screenshot.
For shopware-cli project storefront-build there is a fallback for sw 6.5 path-style, but nothing for shopware-cli project ci
PHP Version
8.2
Shopware Version
6.5
Plugin Version
0.4.55
Actual behaviour
When using
shopware-cli project ci
with Shopware 6.5, especially with B2B Suite? It seems to be rebuilding the storefront files every time, even though they already come with the extension.This is because shopware-cli is looking for a shopware 6.6 style path
Because the path does not match, the tool builds the assets of swagb2bplatform, and the result overrides the original minified JS file. This new file is broken and can not be used; you will get an error like in the screenshot.
For
shopware-cli project storefront-build
there is a fallback for sw 6.5 path-style, but nothing forshopware-cli project ci
The logic which has no fallback when you run
shopware-cli project ci
https://github.com/FriendsOfShopware/shopware-cli/blob/main/extension/asset_platform.go#L437
Expected behaviour
shopware-cli project ci
should have a fallback to Shopware 6.5 path styleSteps to Reproduce?
build with
shopware-cli project ci
a demo shopware project which has B2B Suite plugin installedThe text was updated successfully, but these errors were encountered: