@@ -1212,8 +1212,8 @@ file names (e.g. ``main.ae433f1cb.css``) during a front-end compilation routine.
12121212
12131213 Symfony's :ref: `Webpack Encore <frontend-webpack-encore >` supports
12141214 :ref: `outputting hashed assets <encore-long-term-caching >`. Moreover, this
1215- can be incorporate this into many other workflows, including Webpack and
1216- Gulp using `webpack-manifest-plugin `_ and `gulp-rev `_, respectfully .
1215+ can be incorporated into many other workflows, including Webpack and
1216+ Gulp using `webpack-manifest-plugin `_ and `gulp-rev `_, respectively .
12171217
12181218This option can be set globally for all assets and individually for each asset
12191219package:
@@ -1246,15 +1246,16 @@ package:
12461246 http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
12471247
12481248 <framework : config >
1249- <framework : assets json_manifest_path =" %kernel.project_dir%/web/assets/manifest.json" >
1250- <!-- this package removes the manifest (the file will not apply) -->
1249+ <!-- this manifest is applied to every asset (including packages) -->
1250+ <framework : assets json-manifest-path =" %kernel.project_dir%/web/assets/manifest.json" >
1251+ <!-- this package uses its own manifest (the default file is ignored) -->
12511252 <framework : package
12521253 name =" foo_package"
1253- json_manifest_path =" %kernel.project_dir%/web/assets/a_different_manifest.json" />
1254+ json-manifest-path =" %kernel.project_dir%/web/assets/a_different_manifest.json" />
12541255 <!-- this package uses the global manifest (the default file is used) -->
12551256 <framework : package
12561257 name =" bar_package"
1257- base_path =" /images" />
1258+ base-path =" /images" />
12581259 </framework : assets >
12591260 </framework : config >
12601261 </container >
@@ -1264,6 +1265,7 @@ package:
12641265 // app/config/config.php
12651266 $container->loadFromExtension('framework', array(
12661267 'assets' => array(
1268+ // this manifest is applied to every asset (including packages)
12671269 'json_manifest_path' => '%kernel.project_dir%/web/assets/manifest.json',
12681270 'packages' => array(
12691271 'foo_package' => array(
@@ -1272,7 +1274,7 @@ package:
12721274 ),
12731275 'bar_package' => array(
12741276 // this package uses the global manifest (the default file is used)
1275- 'json_manifest_path ' => '/images',
1277+ 'base_path ' => '/images',
12761278 ),
12771279 ),
12781280 ),
@@ -2002,4 +2004,4 @@ Full Default Configuration
20022004.. _`phpstorm-url-handler` : https://github.com/sanduhrs/phpstorm-url-handler
20032005.. _`blue/green deployment` : http://martinfowler.com/bliki/BlueGreenDeployment.html
20042006.. _`gulp-rev` : https://www.npmjs.com/package/gulp-rev
2005- .. _`webpack-manifest-plugin` : https://www.npmjs.com/package/webpack-manifest-plugin
2007+ .. _`webpack-manifest-plugin` : https://www.npmjs.com/package/webpack-manifest-plugin
0 commit comments