From 36eb0299a53ed84a12d04593a767ac2b43dcb10c Mon Sep 17 00:00:00 2001 From: Tommi Date: Mon, 9 Oct 2017 11:04:00 +0300 Subject: [PATCH] Changes manifest file extension from json to js. The json -file is only meant for Symfony asset versioning when the js -file creates `window.webpackJsonp` used in bundles. --- frontend/encore/shared-entry.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/encore/shared-entry.rst b/frontend/encore/shared-entry.rst index ff816785779..c883f6ef390 100644 --- a/frontend/encore/shared-entry.rst +++ b/frontend/encore/shared-entry.rst @@ -32,7 +32,7 @@ on your page before any other JavaScript file: .. code-block:: twig - + @@ -42,7 +42,7 @@ on your page before any other JavaScript file: The ``vendor.js`` file contains all the common code that has been extracted from -the other files, so it's obvious that it must be included. The other file (``manifest.json``) +the other files, so it's obvious that it must be included. The other file (``manifest.js``) is less obvious: it's needed so that Webpack knows how to load those shared modules. .. tip::