Updated symfony/webpack-encore-bundle recipe

This commit is contained in:
Jan Böhmer 2022-03-04 19:32:04 +01:00
parent 89e1492132
commit 98e3a374ed
4 changed files with 21 additions and 22 deletions

View file

@ -1,4 +0,0 @@
webpack_encore:
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Available in version 1.2
cache: true

View file

@ -1,2 +0,0 @@
#webpack_encore:
# strict_mode: false

View file

@ -21,7 +21,7 @@ webpack_encore:
preload: true
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
# strict_mode: false
strict_mode: true
# If you have multiple builds:
# builds:
@ -32,4 +32,12 @@ webpack_encore:
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Put in config/packages/prod/webpack_encore.yaml
# cache: true
cache: false
when@prod:
webpack_encore:
cache: true
when@test:
webpack_encore:
strict_mode: true

View file

@ -784,25 +784,22 @@
]
},
"symfony/webpack-encore-bundle": {
"version": "1.9",
"version": "1.14",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.9",
"ref": "0f274572ea315eb3b5884518a50ca43f211b4534"
"version": "1.10",
"ref": "2858aeed7e1d81a45365c049eb533cc8827e380b"
},
"files": [
"./assets/app.js",
"./assets/bootstrap.js",
"./assets/controllers.json",
"./assets/controllers/hello_controller.js",
"./assets/styles/app.css",
"./config/packages/assets.yaml",
"./config/packages/prod/webpack_encore.yaml",
"./config/packages/test/webpack_encore.yaml",
"./config/packages/webpack_encore.yaml",
"./package.json",
"./webpack.config.js"
"assets/app.js",
"assets/bootstrap.js",
"assets/controllers.json",
"assets/controllers/hello_controller.js",
"assets/styles/app.css",
"config/packages/webpack_encore.yaml",
"package.json",
"webpack.config.js"
]
},
"symfony/yaml": {