From 6f06205eed765c505664c3edf97cac0cadf2a70b Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 13 Jun 2021 21:31:46 +0100 Subject: [PATCH] Switch admin CSS to webpack --- app/views/spree/admin/shared/_head.html.haml | 2 +- app/webpacker/packs/admin.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 app/webpacker/packs/admin.scss diff --git a/app/views/spree/admin/shared/_head.html.haml b/app/views/spree/admin/shared/_head.html.haml index becc6d0309..e4879fc4bf 100644 --- a/app/views/spree/admin/shared/_head.html.haml +++ b/app/views/spree/admin/shared/_head.html.haml @@ -11,7 +11,7 @@ %link{:href => "//fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&subset=latin,cyrillic,greek,vietnamese", :rel => "stylesheet", :type => "text/css"} -= stylesheet_link_tag 'admin/all' += stylesheet_pack_tag 'admin' = render "layouts/bugsnag_js" = javascript_include_tag 'admin/all' diff --git a/app/webpacker/packs/admin.scss b/app/webpacker/packs/admin.scss new file mode 100644 index 0000000000..59e774d496 --- /dev/null +++ b/app/webpacker/packs/admin.scss @@ -0,0 +1 @@ +@import "../css/admin/all.scss";