diff --git a/frontend/encore/versioning.rst b/frontend/encore/versioning.rst index b4b0be78755..49d389f68de 100644 --- a/frontend/encore/versioning.rst +++ b/frontend/encore/versioning.rst @@ -16,7 +16,7 @@ ignoring any existing cache: // ... Encore - .setOutputPath('web/build/') + .setOutputPath('public/build/') // ... + .enableVersioning() @@ -49,7 +49,7 @@ in your ``script`` and ``link`` tags. If you're using Symfony, just activate the # ... assets: # feature is supported in Symfony 3.3 and higher - json_manifest_path: '%kernel.project_dir%/web/build/manifest.json' + json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' That's it! Just be sure to wrap each path in the Twig ``asset()`` function like normal: