Open frank-dspeed opened 4 years ago
this.graph.moduleLoader.fetchModule will get exposed via plugin context and will allow directly methods from ModuleLoader on graph.moduleLoader
this.fetchModule( id: string, importer: string | undefined, moduleSideEffects: boolean | 'no-treeshake', syntheticNamedExports: boolean | string, isEntry: boolean ).then(module=>{/* */}) this.addAdditionalModules(unresolvedModules: string[]).then(modules=>)
I will prepare and explore that via a Pullrequest that i start now this weekend as i have personal interrest into that feature it will deprecate my rollup fork that is then maybe not needed anymore :)
emitModule is not a good name if nothing is emitted...
emitModule
Feature Use Case
this.graph.moduleLoader.fetchModule will get exposed via plugin context and will allow directly methods from ModuleLoader on graph.moduleLoader
Feature Proposal
I will prepare and explore that via a Pullrequest that i start now this weekend as i have personal interrest into that feature it will deprecate my rollup fork that is then maybe not needed anymore :)