Fork me on GitHub
#cljs-dev
<
2022-06-17
>
dominicm16:06:16

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.

mikerod19:06:25

@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.

dominicm20:06:51

I suspect I can do that, yeah!