Skip to content

Commit

Permalink
fix: keep avo.custom.js template on build (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Mar 27, 2024
1 parent c8b8854 commit 948f83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.post_install_message = "Thank you for using Avo 💪 Docs are available at https://docs.avohq.io"

spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js", "tailwind.custom.js"]
spec.files.reject! { |file_name| %w[application.js application.js.map avo.custom.js avo.custom.js.map].any? { |rejected_file| file_name.include? rejected_file } }
spec.files.reject! { |file_name| %w[application.js application.js.map spec/dummy/app/javascript/avo.custom.js avo.custom.js.map].any? { |rejected_file| file_name.include? rejected_file } }

spec.add_dependency "activerecord", ">= 6.1"
spec.add_dependency "activesupport", ">= 6.1"
Expand Down

0 comments on commit 948f83d

Please sign in to comment.