diff --git a/jsbundling-rails.gemspec b/jsbundling-rails.gemspec index 9c21972..a175115 100644 --- a/jsbundling-rails.gemspec +++ b/jsbundling-rails.gemspec @@ -9,7 +9,8 @@ Gem::Specification.new do |spec| spec.summary = "Bundle and transpile JavaScript in Rails with bun, esbuild, rollup.js, or Webpack." spec.license = "MIT" - spec.files = Dir["lib/**/*", "MIT-LICENSE", "README.md"] + spec.files = Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } + spec.files += ["LICENSE", "README.md"] spec.add_dependency "railties", ">= 6.0.0" end