Open mariocasciaro opened 10 years ago
Would the output of the transform include a require
for each of the dependencies? Can you explain a little more about your envisioned approach?
Yes, Scatter resolves its dependencies dynamically based on the configured particles, so Browserify won't be able to resolve those dependencies at the moment. A transform would implement the same resolving algorithm of Scatter to import all the dependencies in the bundle.
This probably involves the creation of a transform to collect the dependencies and manually register them without using the resolver.