Fork me on GitHub

Is there an existing mechanism to customise the npm_deps.js output? I need to append to it. I'm playing around with wiring up the webpack Dev server to a browser build so I can hot replace npm modules. If not, I can maybe do it with a custom output wrapper.


@dominicm I don't have the same case but I did need to add more things to the main.js file output and that works by just importing it into a wrapping top level entry point. Not sure if you could control what you wanted that way? However I don't know if there's anyways to actually alter the npm_deps output.


I suspect I can do that, yeah!