composer require webpack-encore-bundle

Note:
* move flex in root composer.json (otherwise it is not read)
* webpack-encore-bundle needed to use twig function {{ encore_entry_script_tags() }}
* flex recipe add new 'assets' dir
This commit is contained in:
Mathieu Jaumotte 2021-04-14 16:07:35 +02:00
parent 16b155d449
commit a48d6d2a0a

View File

@ -22,7 +22,6 @@
"require": { "require": {
"champs-libres/async-uploader-bundle": "dev-sf4", "champs-libres/async-uploader-bundle": "dev-sf4",
"graylog2/gelf-php": "^1.5", "graylog2/gelf-php": "^1.5",
"symfony/flex": "^1.9",
"symfony/form": "4.*", "symfony/form": "4.*",
"symfony/twig-bundle": "^4.4", "symfony/twig-bundle": "^4.4",
"twig/extra-bundle": "^2.12|^3.0", "twig/extra-bundle": "^2.12|^3.0",
@ -38,6 +37,7 @@
"symfony/validator": "4.*", "symfony/validator": "4.*",
"sensio/framework-extra-bundle": "^5.5", "sensio/framework-extra-bundle": "^5.5",
"symfony/yaml": "4.*", "symfony/yaml": "4.*",
"symfony/webpack-encore-bundle": "^1.11",
"knplabs/knp-menu": "^3.1", "knplabs/knp-menu": "^3.1",
"knplabs/knp-menu-bundle": "^3.0", "knplabs/knp-menu-bundle": "^3.0",
"symfony/templating": "4.*", "symfony/templating": "4.*",