You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node style requires (e.g. require './something') are back to not working now since we're using Opal Builder. Once an Opal defect is corrected, both Opal and this loader will have the same behavior as MRI.
Any files that Opal GEMs stub are now stubbed in the loader when using Bunder, Rails, or additional MRI requires
Use Opal's Builder class for compilation, which should address several issues (#12, #27)
Require filename resolution no longer breaks with suffixes that look like extensions (#26)
By default, require 'opal' includes bundled opal in this package, you are discouraged from mixing this compiler with your own runtime
File caching between runs
Supports passing stubs in via global options
Avoid absolute path in opal module names (e.g. Opal.modules['/root/something'])
Make load path more explicit to behave more like Opal does (either load path is current directory and everything must be in there or the load path must be defined)
Test pure JS require (using similar semantics to Opal)
require_relative works properly
require_tree will once opal issues are fixed
Better test coverage
Removal Babel compilation (can assume code running under Node has es6 covered)