Skip to content

Commit ad32b8f

Browse files
authored
Merge pull request #479 from rails/flavorjones-fix-tailwind-propshaft-again
Properly invoke the initializer to have Propshaft ignore tailwind
2 parents a180a29 + 0bb4443 commit ad32b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/tailwindcss/engine.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Engine < ::Rails::Engine
66
Rails.application.config.generators.stylesheets = false
77
end
88

9-
initializer "tailwindcss.exclude_asset_path", after: "propshaft.append_assets_path" do
9+
initializer "tailwindcss.exclude_asset_path", before: "propshaft.append_assets_path" do
1010
if Rails.application.config.assets.excluded_paths # the app may not be using Propshaft
1111
Rails.application.config.assets.excluded_paths << Rails.root.join("app/assets/tailwind")
1212
end

0 commit comments

Comments
 (0)