Skip to content

Commit 69bfc1c

Browse files
authored
Include .gitattributes when building the gem (#193)
1 parent 24b66e8 commit 69bfc1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: jsbundling-rails.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Gem::Specification.new do |spec|
99
spec.summary = "Bundle and transpile JavaScript in Rails with bun, esbuild, rollup.js, or Webpack."
1010
spec.license = "MIT"
1111

12-
spec.files = Dir["lib/**/*", "MIT-LICENSE", "README.md"]
12+
spec.files = Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
13+
spec.files += ["LICENSE", "README.md"]
1314

1415
spec.add_dependency "railties", ">= 6.0.0"
1516
end

0 commit comments

Comments
 (0)