Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08463fd

Browse files
committed
minor#9155 Revert asset versioning back to SF 3 directory structure (allejo)
This PR was merged into the 3.3 branch.Discussion----------Revert asset versioning back to SF 3 directory structureI don't believe SF 3 started using the `public/` directory, right? I think the 3.x docs were updated a bit prematurely since the 3.4 docs are affected too. Should the 3.4 change be another PR or could that be cherry-picked by a maintainer?Commits-------8c37957 Revert back to SF 3 directory structure
2 parents2fae4b4 +8c37957 commit08463fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎frontend/encore/versioning.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ignoring any existing cache:
1616
// ...
1717
1818
Encore
19-
.setOutputPath('public/build/')
19+
.setOutputPath('web/build/')
2020
// ...
2121
+ .enableVersioning()
2222
@@ -49,7 +49,7 @@ in your ``script`` and ``link`` tags. If you're using Symfony, just activate the
4949
# ...
5050
assets:
5151
# feature is supported in Symfony 3.3 and higher
52-
json_manifest_path:'%kernel.project_dir%/public/build/manifest.json'
52+
json_manifest_path:'%kernel.project_dir%/web/build/manifest.json'
5353
5454
That's it! Just be sure to wrap each path in the Twig ``asset()`` function
5555
like normal:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp