diff --git a/spomky-labs/pwa-bundle/1.3/config/packages/pwa.yaml b/spomky-labs/pwa-bundle/1.3/config/packages/pwa.yaml new file mode 100644 index 00000000..d3a72081 --- /dev/null +++ b/spomky-labs/pwa-bundle/1.3/config/packages/pwa.yaml @@ -0,0 +1,5 @@ +# Documentation available at https://pwa.spomky-labs.com/ +## Please add the favicons, manifest or serviceworker sections depending on your needs. +pwa: + asset_compiler: false # Default to true. Will change to false in 2.0.0. + #image_processor: 'pwa.image_processor.imagick' # Or 'pwa.image_processor.gd' diff --git a/spomky-labs/pwa-bundle/1.3/manifest.json b/spomky-labs/pwa-bundle/1.3/manifest.json new file mode 100644 index 00000000..9a41d1c2 --- /dev/null +++ b/spomky-labs/pwa-bundle/1.3/manifest.json @@ -0,0 +1,26 @@ +{ + "bundles": { + "SpomkyLabs\\PwaBundle\\SpomkyLabsPwaBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%" + }, + "add-lines": [ + { + "file": "templates/base.html.twig", + "content": " {{ pwa() }}", + "position": "after_target", + "target": "", + "warn_if_missing": true + } + ], + "gitignore": [ + "/public/idb", + "/public/pwa", + "/public/workbox", + "/public/favicon.ico", + "/public/site.webmanifest", + "/public/site.*.webmanifest", + "/public/sw.js" + ] +}