Skip to content

Conversation

@janbiedermann
Copy link
Member

Fixes #2662

@janbiedermann
Copy link
Member Author

Spec is in #2656


Pathname.glob(entries_glob).map { |file| file.relative_path_from(abs_base_path).to_s }
Pathname.glob(entries_glob).map do |file|
if file.extname == '.rb'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.rb is not special. This can also be .opalerb or .js.rb or .js (everything supported by BuilderProcessors).

@janbiedermann janbiedermann changed the title Opal::Builder Fix multiple inclusion of assets when processing tree requires [WIP] Opal::Builder Fix multiple inclusion of assets when processing tree requires Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Opal::Builder : When doing require_relative from require_tree, assets gets added twice

2 participants