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
{{ message }}
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
Feature: Arbitrary sources for module source text #97
This can be partially solved by the vm.Module constructor and linking and evaluating the module yourself. Obviously it's not that elegant so I wouldn't call it a done solution, but at the very least the use case is accomplishable.
Perhaps the --loader flag thing would also enable this use case, but I'm not too familiar with it.
Activity
Jamesernator commentedon May 21, 2018
This can be partially solved by the
vm.Moduleconstructor and linking and evaluating the module yourself. Obviously it's not that elegant so I wouldn't call it a done solution, but at the very least the use case is accomplishable.Perhaps the
--loaderflag thing would also enable this use case, but I'm not too familiar with it.xtuc commentedon May 21, 2018
Sorry I don't understand this use case, could you please provide a few examples?
Are the following example in this use case?
GeoffreyBooth commentedon May 22, 2018
Pinging @ceejbot as this was their use case.
ljharb commentedon May 22, 2018
I would expect that there'd be a way to do both of the following: