Skip to content

Commit

Permalink
Exclude generated tailwind config from VCS (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedubois authored Aug 1, 2023
1 parent f7e3712 commit 8e17ce0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/generators/spina/tailwind_config_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ class TailwindConfigGenerator < Rails::Generators::Base
source_root File.expand_path("../templates", __FILE__)

def create_tailwind_config_file
template "app/assets/config/spina/tailwind.config.js"
filename = "/app/assets/config/spina/tailwind.config.js"
insert_into_file ".gitignore", filename
template filename
end
end
end

0 comments on commit 8e17ce0

Please sign in to comment.