Add Sylius/RefundPlugin 2.0 recipe (#1743)

This commit is contained in:
Grzegorz Sadowski
2025-01-17 13:56:32 +01:00
committed by GitHub
parent 503056481b
commit be9d790c7c
3 changed files with 20 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,2 @@
sylius_refund:
resource: "@SyliusRefundPlugin/config/routes.yaml"

View File

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