Skip to content

Commit b236fb3

Browse files
committedSep 2, 2022
Fix webpack lint
1 parent 30915d6 commit b236fb3

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed
 

‎assets/scss/frontend.scss

-1
This file was deleted.

‎docs/reference/installation.rst

+8
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ SonataPageBundle Configuration
121121
not_found: [404] # render 404 page with "not_found" key (name generated: _page_internal_error_{key})
122122
fatal: [500] # so you can use the same page for different http errors or specify specific page for each error
123123
124+
# Add custom css and js
125+
# assets:
126+
# javascripts:
127+
# - assets/js/your.js
128+
# stylesheets:
129+
# - bundles/sonatapage/app.css
130+
# - bundles/sonatapage/frontend.css
131+
124132
SonataAdminBundle Configuration
125133
-------------------------------
126134

‎src/DependencyInjection/Configuration.php

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public function getConfigTreeBuilder(): TreeBuilder
138138
->arrayNode('stylesheets')
139139
->defaultValue([
140140
'bundles/sonatapage/app.css',
141+
'bundles/sonatapage/frontend.css',
141142
])
142143
->prototype('scalar')->end()
143144
->end()

‎src/Model/TransformerInterface.php

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
* blocks: array<mixed>,
4242
* }>,
4343
* }
44-
*
4544
* @phpstan-type PageContent array{
4645
* id: int|string|null,
4746
* parent_id?: int|string|null,

0 commit comments

Comments
 (0)