Skip to content

A platform for community discussion. Free, open, simple.

DEV: Drop dead leftovers from the Rolldown migration (#41298)

Régis Hanol5c73bcb2bfba
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 3a3c4a248f7..46a98b6e8eb 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -59,12 +59,6 @@
<%= module_preloads_for "discourse", (staff? ? "admin/compat-modules" : nil) %>
- <%- if staff? %>
- <% EmberAssets.script_chunks["chunk.admin"]&.each do |script_name| %>
- <link rel="preload" href="<%= script_asset_path(script_name) %>" as="script" nonce="<%= csp_nonce_placeholder %>" data-discourse-entrypoint="admin">
- <% end %>
- <%- end %>
-
<%- unless customization_disabled? %>
<%- theme_js_assets.each do |asset| %>
<link rel="modulepreload" href="<%= asset[:url] %>" data-theme-id="<%= asset[:theme_id] %>" nonce="<%= csp_nonce_placeholder %>">
diff --git a/spec/lib/stylesheet/compiler_spec.rb b/spec/lib/stylesheet/compiler_spec.rb
index 23b07c357d1..ea653836a9e 100644
--- a/spec/lib/stylesheet/compiler_spec.rb
+++ b/spec/lib/stylesheet/compiler_spec.rb
@@ -5,8 +5,6 @@ require "stylesheet/compiler"
RSpec.describe Stylesheet::Compiler do
describe "compilation" do
Dir["#{Rails.root.join("app/assets/stylesheets/*.scss")}"].each do |path|
- next if path =~ /ember_cli/
-
path = File.basename(path, ".scss")
# mobile and desktop scss files are intentionally empty stubs