mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Updated symfony/webpack-encore-bundle recipe
This commit is contained in:
parent
89e1492132
commit
98e3a374ed
4 changed files with 21 additions and 22 deletions
|
@ -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
|
|
|
@ -1,2 +0,0 @@
|
||||||
#webpack_encore:
|
|
||||||
# strict_mode: false
|
|
|
@ -21,7 +21,7 @@ webpack_encore:
|
||||||
preload: true
|
preload: true
|
||||||
|
|
||||||
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
|
# 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:
|
# If you have multiple builds:
|
||||||
# builds:
|
# builds:
|
||||||
|
@ -32,4 +32,12 @@ webpack_encore:
|
||||||
|
|
||||||
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
|
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
|
||||||
# Put in config/packages/prod/webpack_encore.yaml
|
# 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
|
25
symfony.lock
25
symfony.lock
|
@ -784,25 +784,22 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/webpack-encore-bundle": {
|
"symfony/webpack-encore-bundle": {
|
||||||
"version": "1.9",
|
"version": "1.14",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"version": "1.9",
|
"version": "1.10",
|
||||||
"ref": "0f274572ea315eb3b5884518a50ca43f211b4534"
|
"ref": "2858aeed7e1d81a45365c049eb533cc8827e380b"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./assets/app.js",
|
"assets/app.js",
|
||||||
"./assets/bootstrap.js",
|
"assets/bootstrap.js",
|
||||||
"./assets/controllers.json",
|
"assets/controllers.json",
|
||||||
"./assets/controllers/hello_controller.js",
|
"assets/controllers/hello_controller.js",
|
||||||
"./assets/styles/app.css",
|
"assets/styles/app.css",
|
||||||
"./config/packages/assets.yaml",
|
"config/packages/webpack_encore.yaml",
|
||||||
"./config/packages/prod/webpack_encore.yaml",
|
"package.json",
|
||||||
"./config/packages/test/webpack_encore.yaml",
|
"webpack.config.js"
|
||||||
"./config/packages/webpack_encore.yaml",
|
|
||||||
"./package.json",
|
|
||||||
"./webpack.config.js"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/yaml": {
|
"symfony/yaml": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue