donejs / done-component

A plugin for creating <can-component>s
https://www.npmjs.com/package/done-component
MIT License
8 stars 2 forks source link

Define fetch hook on both loaders #10

Closed matthewp closed 8 years ago

matthewp commented 8 years ago

In the build there are two loaders, the plugin loader (which is @loader here) and the "localLoader" which is the main loader doing the trace. We need to attach the new fetch hook to both loaders so that the virtual modules are properly fetched and added to the dependency graph.