Skip to content

Commit 5c66020

Browse files
committed
Migrate Webpack Encore recipe to Stimulus 2
1 parent c758d80 commit 5c66020

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

symfony/webpack-encore-bundle/1.0/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"devDependencies": {
3-
"@symfony/stimulus-bridge": "^1.0.0",
3+
"@symfony/stimulus-bridge": "^1.1.0",
44
"@symfony/webpack-encore": "^0.32.0",
55
"core-js": "^3.0.0",
6-
"stimulus": "^1.1.1",
6+
"stimulus": "^2.0.0",
77
"regenerator-runtime": "^0.13.2",
88
"webpack-notifier": "^1.6.0"
99
},

symfony/webpack-encore-bundle/1.6/config/packages/webpack_encore.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ webpack_encore:
44
# If multiple builds are defined (as shown below), you can disable the default build:
55
# output_path: false
66

7-
# if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
7+
# If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
88
# crossorigin: 'anonymous'
99

10-
# preload all rendered script and link tags automatically via the HTTP/2 Link header
10+
# Preload all rendered script and link tags automatically via the HTTP/2 Link header
1111
# preload: true
1212

1313
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
1414
# strict_mode: false
1515

16-
# if you have multiple builds:
16+
# If you have multiple builds:
1717
# builds:
1818
# pass "frontend" as the 3rg arg to the Twig functions
1919
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}

0 commit comments

Comments
 (0)