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

Appearance settings

Commit 324b406

Browse filesBrowse files
committed
minor symfony#12449 [Encore] Replace "Encore.setPublicPrefix" by "Encore.setPublicPath" (Lyrkan)
This PR was merged into the 3.4 branch. Discussion ---------- [Encore] Replace "Encore.setPublicPrefix" by "Encore.setPublicPath" Fixes a small issue in the FAQ page: `Encore.setPublicPrefix()` does not exist, it should be [`Encore.setPublicPath()`](https://github.com/symfony/webpack-encore/blob/314be3277984c8493a5daaae792c05279a9c436b/index.js#L39-L69) instead (the example that follows uses it correctly). I also removed a "*just*" in the same sentence since, if I recall correctly, it should now be avoided in the docs. Commits ------- 3542527 [Encore] Replace "Encore.setPublicPrefix" by "Encore.setPublicPath"
2 parents aed9091 + 3542527 commit 324b406
Copy full SHA for 324b406

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎frontend/encore/faq.rst

Copy file name to clipboardExpand all lines: frontend/encore/faq.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ My App Lives under a Subdirectory
5959
---------------------------------
6060

6161
If your app does not live at the root of your web server (i.e. it lives under a subdirectory,
62-
like ``/myAppSubdir``), you just need to configure that when calling ``Encore.setPublicPrefix()``:
62+
like ``/myAppSubdir``), you will need to configure that when calling ``Encore.setPublicPath()``:
6363

6464
.. code-block:: diff
6565

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.