That does what I think y…

less than 1 minute read

That does what I think you’re looking for - it lets you control bundling your node modules into your single main.js. Setting to “none” should bundle everything in, but you might run into issues with some dependencies. There are some issues in the Nx github repo about it, but you might have to change from “none” to a whitelisted list of dependencies. I think the issue comes from modules that attempt to “lazy load” optional peer dependencies, e.g. db drivers, so that you don’t have to have them all installed.

Updated: