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
Basically, this would allow me to turn thallium and thallium/assert into "builtins" for ES modules, so I can guarantee every module receives the same instance. I could also support CoffeeScript ES modules and similar on the fly. (Basically, better interop.)
Also, this is required for ES modules as configs, and so should be done by default.
This is way better than require.extensions hacking... (although to do similar for CJS, I'd have to overwrite some Module internals)
The text was updated successfully, but these errors were encountered:
(ref)
Basically, this would allow me to turn
thallium
andthallium/assert
into "builtins" for ES modules, so I can guarantee every module receives the same instance. I could also support CoffeeScript ES modules and similar on the fly. (Basically, better interop.)Also, this is required for ES modules as configs, and so should be done by default.
This is way better than
require.extensions
hacking... (although to do similar for CJS, I'd have to overwrite someModule
internals)The text was updated successfully, but these errors were encountered: