Next.js Discord

Discord Forum

Add dependency to standalone with custom server

Unanswered
Haddock posted this in #help-forum
Open in Discord
HaddockOP
I have a custom nextjs server for "reasons". It has a dependency on xml2js node module.. since it's only required in the custom-server.js file it's not included in the standalone/node_modules. I've tried a lot of less successful solutions, maybe I'm missing some easy solution to this?

0 Replies