Skip to content

Commit d4ea2ae

Browse files
committed
Clarifying not about Encore outside of Symfony
1 parent 4aa9eff commit d4ea2ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

frontend/encore/simple-example.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,10 @@ template: the paths in ``entrypoints.json`` will always be the final, correct pa
154154
And if you use :doc:`splitEntryChunks() </frontend/encore/split-chunks>` (where Webpack splits the output into even
155155
more files), all the necessary ``script`` and ``link`` tags will render automatically.
156156

157-
If you're *not* using Symfony, you can ignore the ``entrypoints.json`` file and
158-
point to the final, built file directly. ``entrypoints.json`` is only required for
159-
some optional features.
157+
If you are not using Symfony you won't have the ``encore_entry_*`` functions available.
158+
Instead, you can point directly to the final built files or write code to parse
159+
``entrypoints.json`` manually. The entrypoints file is needed only if you're using
160+
certain optional features, like ``splitEntryChunks()``.
160161

161162
.. versionadded:: 1.9.0
162163

0 commit comments

Comments
 (0)