Is there a way to show t…

less than 1 minute read

Is there a way to show the webpack configuration Nx is applying for a build? My node/express apps don’t minify/uglify so I’m curious as to why.

Responses:

do you have “production” set to true?

yes. I ran it with: nx build sample-node-app --configuration=production and tried: nx build sample-node-app --prod

I see this in the source, but not sure if it’s being changed to true somewhere for prod builds. https://github.com/FrozenPandaz/nx/blob/master/packages/node/src/utils/node.config.ts

Updated: