File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1108,11 +1108,14 @@ individually for each asset package:
1108
1108
version_strategy : ' app.asset.my_versioning_strategy'
1109
1109
packages :
1110
1110
foo_package :
1111
- # this makes the assets of this package to not be versioned
1111
+ # this package removes any versioning (its assets won't be versioned)
1112
1112
version : ~
1113
1113
bar_package :
1114
- # this package doesn't use the global versioning strategy
1114
+ # this package uses its own strategy (the default strategy is ignored)
1115
1115
version_strategy : ' app.asset.another_version_strategy'
1116
+ baz_package :
1117
+ # this package inherits the default strategy
1118
+ base_path : ' /images'
1116
1119
1117
1120
.. code-block :: xml
1118
1121
@@ -1132,6 +1135,9 @@ individually for each asset package:
1132
1135
<framework : package
1133
1136
name =" bar_package"
1134
1137
version-strategy =" app.asset.another_version_strategy" />
1138
+ <framework : package
1139
+ name =" baz_package"
1140
+ base_path =" /images" />
1135
1141
</framework : assets >
1136
1142
</framework : config >
1137
1143
</container >
@@ -1151,6 +1157,10 @@ individually for each asset package:
1151
1157
// ...
1152
1158
'version_strategy' => 'app.asset.another_version_strategy',
1153
1159
),
1160
+ 'baz_package' => array(
1161
+ // ...
1162
+ 'base_path' => '/images',
1163
+ ),
1154
1164
),
1155
1165
),
1156
1166
));
You can’t perform that action at this time.
0 commit comments