File tree 2 files changed +19
-16
lines changed
src/Symfony/Bundle/FrameworkBundle
Tests/DependencyInjection/Fixtures/xml
2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 191
191
<xsd : sequence >
192
192
<xsd : element name =" path" type =" asset_mapper_path" minOccurs =" 0" maxOccurs =" unbounded" />
193
193
<xsd : element name =" excluded-pattern" type =" xsd:string" minOccurs =" 0" maxOccurs =" unbounded" />
194
- <xsd : element name =" server" type =" xsd:boolean" minOccurs =" 0" />
195
- <xsd : element name =" public_prefix" type =" xsd:string" minOccurs =" 0" />
196
- <xsd : element name =" strict-mode" type =" xsd:boolean" minOccurs =" 0" />
197
194
<xsd : element name =" extension" type =" asset_mapper_extension" minOccurs =" 0" maxOccurs =" unbounded" />
198
- <xsd : element name =" importmap-path" type =" xsd:string" minOccurs =" 0" />
199
- <xsd : element name =" importmap-polyfill" type =" xsd:string" minOccurs =" 0" nillable =" true" />
200
195
<xsd : element name =" importmap-script-attribute" type =" asset_mapper_attribute" minOccurs =" 0" maxOccurs =" unbounded" />
201
- <xsd : element name =" vendor_dir" type =" xsd:string" minOccurs =" 0" />
202
- <xsd : element name =" provider" type =" xsd:string" minOccurs =" 0" />
203
196
</xsd : sequence >
197
+ <xsd : attribute name =" enabled" type =" xsd:boolean" />
198
+ <xsd : attribute name =" server" type =" xsd:boolean" />
199
+ <xsd : attribute name =" public-prefix" type =" xsd:string" />
200
+ <xsd : attribute name =" strict-mode" type =" xsd:boolean" />
201
+ <xsd : attribute name =" importmap-path" type =" xsd:string" />
202
+ <xsd : attribute name =" importmap-polyfill" type =" xsd:string" />
203
+ <xsd : attribute name =" vendor-dir" type =" xsd:string" />
204
+ <xsd : attribute name =" provider" type =" xsd:string" />
204
205
</xsd : complexType >
205
206
206
207
<xsd : complexType name =" asset_mapper_path" mixed =" true" >
Original file line number Diff line number Diff line change 7
7
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
8
8
9
9
<framework : config http-method-override =" false" >
10
- <framework : asset-mapper >
10
+ <framework : asset-mapper
11
+ enabled =" true"
12
+ server =" true"
13
+ public-prefix =" /assets_path/"
14
+ strict-mode =" true"
15
+ importmap-path =" %kernel.project_dir%/importmap.php"
16
+ importmap-polyfill =" https://cdn.example.com/polyfill.js"
17
+ vendor-dir =" %kernel.project_dir%/assets/vendor"
18
+ provider =" jspm"
19
+ >
11
20
<framework : path >assets/</framework : path >
12
21
<framework : path namespace =" my_namespace" >assets2/</framework : path >
13
- <framework : excluded-pattern >*/*.scss</framework : excluded-pattern >
14
- <framework : server >true</framework : server >
15
- <framework : public_prefix >/assets_path/</framework : public_prefix >
16
- <framework : strict-mode >true</framework : strict-mode >
22
+ <framework : excluded-pattern >*/assets/build/*</framework : excluded-pattern >
17
23
<framework : extension extension =" zip" >application/zip</framework : extension >
18
- <framework : importmap-path >%kernel.project_dir%/importmap.php</framework : importmap-path >
19
- <framework : importmap-polyfill >https://cdn.example.com/polyfill.js</framework : importmap-polyfill >
20
24
<framework : importmap-script-attribute key =" data-turbo-track" >reload</framework : importmap-script-attribute >
21
- <framework : vendor_dir >%kernel.project_dir%/assets/vendor</framework : vendor_dir >
22
- <framework : provider >jspm</framework : provider >
23
25
</framework : asset-mapper >
24
26
</framework : config >
25
27
</container >
You can’t perform that action at this time.
0 commit comments