Update two frontend asset directives to conform with Phoenix 1.8.5
This commit is contained in:
@@ -15,6 +15,9 @@
|
|||||||
@custom-variant phx-submit-loading (.phx-submit-loading&, .phx-submit-loading &);
|
@custom-variant phx-submit-loading (.phx-submit-loading&, .phx-submit-loading &);
|
||||||
@custom-variant phx-change-loading (.phx-change-loading&, .phx-change-loading &);
|
@custom-variant phx-change-loading (.phx-change-loading&, .phx-change-loading &);
|
||||||
|
|
||||||
|
/* Make LiveView wrapper divs transparent for layout */
|
||||||
|
[data-phx-session], [data-phx-teleported-src] { display: contents }
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
button:not(:disabled),
|
button:not(:disabled),
|
||||||
[role="button"]:not(:disabled) {
|
[role="button"]:not(:disabled) {
|
||||||
|
|||||||
+7
-3
@@ -67,9 +67,13 @@ config :music_library, MusicLibraryWeb.Endpoint,
|
|||||||
live_reload: [
|
live_reload: [
|
||||||
web_console_logger: true,
|
web_console_logger: true,
|
||||||
patterns: [
|
patterns: [
|
||||||
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",
|
# Static assets, except user uploads
|
||||||
~r"priv/gettext/.*(po)$",
|
~r"priv/static/(?!uploads/).*\.(js|css|png|jpeg|jpg|gif|svg)$"E,
|
||||||
~r"lib/music_library_web/(?:controllers|live|components|router)/?.*\.(ex|heex)$"
|
# Gettext translations
|
||||||
|
~r"priv/gettext/.*\.po$"E,
|
||||||
|
# Router, Controllers, LiveViews and LiveComponents
|
||||||
|
~r"lib/music_library_web/router\.ex$"E,
|
||||||
|
~r"lib/music_library_web/(controllers|live|components)/.*\.(ex|heex)$"E
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user