Add recipe for sylius/wishlist-plugin (#1800)

This commit is contained in:
Michał Pysiak
2025-05-22 18:48:47 +02:00
committed by GitHub
parent 2d8cc35bb1
commit abae5b0f03
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
imports:
- { resource: "@SyliusWishlistPlugin/config/config.yaml" }

View File

@@ -0,0 +1,2 @@
sylius_wishlist_shop:
resource: "@SyliusWishlistPlugin/config/routes.yaml"

View File

@@ -0,0 +1,24 @@
{
"bundles": {
"Sylius\\WishlistPlugin\\SyliusWishlistPlugin": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"add-lines": [
{
"file": "assets/admin/entrypoint.js",
"content": "import '@vendor/sylius/wishlist-plugin/assets/admin/entrypoint';",
"position": "bottom",
"warn_if_missing": true
},
{
"file": "assets/shop/entrypoint.js",
"content": "import '@vendor/sylius/wishlist-plugin/assets/shop/entrypoint';",
"position": "bottom",
"warn_if_missing": true
}
]
}