We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704150a commit f98b50cCopy full SHA for f98b50c
lib/ruby_wasm/packager/file_system.rb
@@ -98,6 +98,7 @@ def ruby_root
98
def each_gem_require_path(&block)
99
each_gem_extension_path(&block)
100
@packager.specs.each do |spec|
101
+ # Use raw_require_paths to exclude extensions
102
spec.raw_require_paths.each do |require_path|
103
source = File.expand_path(require_path, spec.full_gem_path)
104
next unless File.exist?(source)
@@ -114,8 +115,7 @@ def each_gem_content_path(&block)
114
115
116
next unless File.exist?(spec.full_gem_path)
117
- Dir
118
- .children(spec.full_gem_path)
+ spec.files
119
.each do |require_path|
120
121
0 commit comments